Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01556/0.01556, allocations: 1.337 MB / 20.27 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 81.72 kB / 23.82 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 154.4 kB / 27.5 MB, free: 4.262 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 177.2 MB / 208.3 MB, free: 7.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.023/1.023, allocations: 102.5 MB / 367.6 MB, free: 4.656 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06623/0.06623, allocations: 20.98 MB / 0.5562 GB, free: 5.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.2418, allocations: 81.88 MB / 0.6362 GB, free: 3.191 MB / 0.5294 GB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.1481/0.3899, allocations: 42.85 MB / 0.678 GB, free: 8.367 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3953/0.7852, allocations: 20.41 MB / 0.698 GB, free: 18.65 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00373/0.7889, allocations: 98.91 kB / 0.698 GB, free: 18.6 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.006243/0.7952, allocations: 2.021 MB / 0.7 GB, free: 18.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.009533/0.8047, allocations: 2.765 MB / 0.7027 GB, free: 16.78 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009398/0.8141, allocations: 3.014 MB / 0.7057 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0122/0.8263, allocations: 6.592 MB / 0.7121 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004039/0.8303, allocations: 1.953 MB / 0.714 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.8406, allocations: 3.845 MB / 0.7178 GB, free: 9.66 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006857/0.8475, allocations: 2.617 MB / 0.7203 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.8489, allocations: 462.3 kB / 0.7208 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007157/0.8561, allocations: 2.235 MB / 0.7229 GB, free: 7.258 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.8577, allocations: 1.305 MB / 0.7242 GB, free: 6.242 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003547/0.8613, allocations: 1.84 MB / 0.726 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.8761, allocations: 8.128 MB / 0.734 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.8761, allocations: 2.625 kB / 0.734 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8761, allocations: 0 / 0.734 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002404/0.8764, allocations: 1.312 kB / 0.734 GB, free: 15.43 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.01409/0.8905, allocations: 5.213 MB / 0.739 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.8905, allocations: 12.28 kB / 0.7391 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.8928, allocations: 0.6193 MB / 0.7397 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009974/0.9028, allocations: 4.067 MB / 0.7436 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.9029, allocations: 179.1 kB / 0.7438 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003998/0.9033, allocations: 234.1 kB / 0.744 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.9172, allocations: 6.009 MB / 0.7499 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.058e-05/0.9172, allocations: 27.09 kB / 0.7499 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/0.9175, allocations: 111.7 kB / 0.75 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.677e-05/0.9176, allocations: 75.81 kB / 0.7501 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.9293, allocations: 4.016 MB / 0.754 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/0.9566, allocations: 21.4 MB / 0.7749 GB, free: 10.84 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.9678, allocations: 3.523 MB / 0.7784 GB, free: 7.219 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.9709, allocations: 1.248 MB / 0.7796 GB, free: 5.922 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.972, allocations: 263.2 kB / 0.7798 GB, free: 5.672 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009303/0.9813, allocations: 3.165 MB / 0.7829 GB, free: 2.402 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=470): time 1.53e-05/0.9813, allocations: 0 / 0.7829 GB, free: 2.402 MB / 0.6232 GB Notification: Performance of matching and sorting (n=471): time 0.0498/1.031, allocations: 21.6 MB / 0.804 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005223/1.032, allocations: 0.8268 MB / 0.8048 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005553/1.037, allocations: 3.229 MB / 0.808 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008085/1.038, allocations: 61.7 kB / 0.808 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/1.04, allocations: 1.625 MB / 0.8096 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/1.042, allocations: 1.597 MB / 0.8112 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/1.043, allocations: 0.9475 MB / 0.8121 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.043, allocations: 303.7 kB / 0.8124 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/1.047, allocations: 1.711 MB / 0.8141 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004914/1.052, allocations: 3.168 MB / 0.8172 GB, free: 14.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008995/1.061, allocations: 5.037 MB / 0.8221 GB, free: 8.727 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/1.061, allocations: 12 kB / 0.8221 GB, free: 8.715 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01261/1.073, allocations: 5.703 MB / 0.8277 GB, free: 2.992 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.074, allocations: 95.31 kB / 0.8278 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00937/1.083, allocations: 4.355 MB / 0.832 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02592/1.109, allocations: 3.088 MB / 0.835 GB, free: 11.58 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/1.113, allocations: 1.131 MB / 0.8361 GB, free: 10.45 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/1.123, allocations: 3.747 MB / 0.8398 GB, free: 6.633 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/1.128, allocations: 218.1 kB / 0.84 GB, free: 6.422 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.129, allocations: 307.8 kB / 0.8403 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006838/1.135, allocations: 2.436 MB / 0.8427 GB, free: 3.664 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005952/1.141, allocations: 3.143 MB / 0.8457 GB, free: 15.9 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01032/1.152, allocations: 4.981 MB / 0.8506 GB, free: 10.41 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.217e-05/1.152, allocations: 12 kB / 0.8506 GB, free: 10.4 MB / 0.7013 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01485/1.167, allocations: 5.563 MB / 0.856 GB, free: 4.812 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.167, allocations: 87.38 kB / 0.8561 GB, free: 4.715 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01018/1.177, allocations: 4.201 MB / 0.8602 GB, free: 476 kB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02377/1.201, allocations: 2.749 MB / 0.8629 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004491/1.205, allocations: 1.162 MB / 0.864 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009166/1.214, allocations: 3.444 MB / 0.8674 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00396/1.218, allocations: 218.2 kB / 0.8676 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.219, allocations: 307.8 kB / 0.8679 GB, free: 8.695 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 15 (p_out_n1.nextEventScaled,p_out_n1.nextEvent,$PRE.p_out_n1.nextEvent,p_out_n1.last,p_out_n1.b,p_out_n1.a,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition2,$whenCondition1,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (595): * Single equations (assignments): 591 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001918/1.221, allocations: 0.514 MB / 0.8684 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/1.223, allocations: 448.9 kB / 0.8688 GB, free: 7.723 MB / 0.7169 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 664 equation(s) and 637 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_3.summary.inlet.steamQuality, pump_3.fluidIn.cp, pump_3.fluidIn.cv, pump_3.fluidIn.beta, pump_3.fluidIn.kappa, pump_3.fluidIn.drhodp_hxi, pump_3.fluidIn.drhodh_pxi, _, pump_3.fluidIn.w, pump_3.fluidIn.gamma) = ($cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45, $cse46) has size 9 but 7 variables ($whenCondition2, p_out_n1.a, p_out_n1.b, p_out_n1.last, p_out_n1.nextEvent, p_out_n1.nextEventScaled, p_out_n1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.236, allocations: 5.416 MB / 0.8741 GB, free: 2.52 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.996498456224799] Failed to read output from testmodel.py, exit status != 0: 1.4308375269174576 1.447589781 0.5678310790000001 Calling exit ...