Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels.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.0176/0.0176, allocations: 1.796 MB / 21.15 MB, free: 3.25 MB / 18.57 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.001878/0.001878, allocations: 81.14 kB / 24.89 MB, free: 6.82 MB / 18.57 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.001988/0.001988, allocations: 168.7 kB / 28.74 MB, free: 3.648 MB / 18.57 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.527/1.527, allocations: 177.2 MB / 209.6 MB, free: 2.383 MB / 186.7 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.099/1.099, allocations: 102.5 MB / 369.1 MB, free: 0.8906 MB / 330.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5029,variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5029,variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 469.1 MB, free: 13.01 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.042e-05, allocations: 3.859 kB / 469.1 MB, free: 13.01 MB / 442.8 MB 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.TestPumpModels): time 0.401/0.401, allocations: 62.45 MB / 0.5191 GB, free: 72.25 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02299/0.424, allocations: 19.04 MB / 0.5377 GB, free: 64.13 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.4268, allocations: 83.53 kB / 0.5378 GB, free: 64.09 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003996/0.4308, allocations: 1.614 MB / 0.5394 GB, free: 63.38 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.4355, allocations: 1.967 MB / 0.5413 GB, free: 62.24 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.4408, allocations: 2.566 MB / 0.5438 GB, free: 60.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005493/0.4463, allocations: 4.648 MB / 0.5483 GB, free: 58.66 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.4485, allocations: 1.543 MB / 0.5498 GB, free: 57.67 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.4527, allocations: 2.61 MB / 0.5524 GB, free: 56.56 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.4559, allocations: 1.78 MB / 0.5541 GB, free: 56.02 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006688/0.4566, allocations: 308 kB / 0.5544 GB, free: 56.02 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00448/0.4611, allocations: 1.989 MB / 0.5564 GB, free: 55.46 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.4621, allocations: 1.003 MB / 0.5574 GB, free: 54.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.4637, allocations: 1.101 MB / 0.5584 GB, free: 54.36 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00889/0.4726, allocations: 6.135 MB / 0.5644 GB, free: 51.57 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4726, allocations: 5.781 kB / 0.5644 GB, free: 51.56 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4726, allocations: 1.219 kB / 0.5644 GB, free: 51.56 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001092/0.4727, allocations: 0 / 0.5644 GB, free: 51.56 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.008009/0.4807, allocations: 4.798 MB / 0.5691 GB, free: 48.09 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4808, allocations: 10.28 kB / 0.5691 GB, free: 48.09 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.4824, allocations: 0.6541 MB / 0.5698 GB, free: 47.75 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/0.4875, allocations: 3.029 MB / 0.5727 GB, free: 45.73 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.4876, allocations: 144.1 kB / 0.5729 GB, free: 45.67 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.4879, allocations: 204 kB / 0.573 GB, free: 45.6 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.495, allocations: 4.995 MB / 0.5779 GB, free: 41.35 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.22e-05/0.4951, allocations: 21.91 kB / 0.5779 GB, free: 41.34 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.4953, allocations: 95.47 kB / 0.578 GB, free: 41.28 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.4953, allocations: 67.39 kB / 0.5781 GB, free: 41.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006263/0.5016, allocations: 2.754 MB / 0.5808 GB, free: 38.64 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.5163, allocations: 26.03 MB / 0.6062 GB, free: 11.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005745/0.522, allocations: 2.426 MB / 0.6086 GB, free: 9.215 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.5233, allocations: 0.8715 MB / 0.6094 GB, free: 8.273 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.5236, allocations: 117.1 kB / 0.6095 GB, free: 8.16 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004774/0.5284, allocations: 2.436 MB / 0.6119 GB, free: 5.574 MB / 490.8 MB Notification: Performance of pre-optimization done (n=332): time 9.278e-06/0.5284, allocations: 0 / 0.6119 GB, free: 5.574 MB / 490.8 MB Notification: Performance of matching and sorting (n=333): time 0.03038/0.5588, allocations: 16.22 MB / 0.6278 GB, free: 5.141 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005315/0.5593, allocations: 0.7547 MB / 0.6285 GB, free: 4.215 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/0.565, allocations: 3.379 MB / 0.6318 GB, free: 0.8164 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005269/0.5655, allocations: 57.69 kB / 0.6319 GB, free: 0.7539 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.5673, allocations: 1.662 MB / 0.6335 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/0.5691, allocations: 1.192 MB / 0.6346 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.5705, allocations: 0.8708 MB / 0.6355 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002395/0.5707, allocations: 484.7 kB / 0.636 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.5731, allocations: 1.152 MB / 0.6371 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/0.5772, allocations: 2.954 MB / 0.64 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007206/0.5844, allocations: 4.314 MB / 0.6442 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-05/0.5844, allocations: 12 kB / 0.6442 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.009878/0.5943, allocations: 4.28 MB / 0.6484 GB, free: 14.32 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.5945, allocations: 157.5 kB / 0.6485 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00642/0.6009, allocations: 2.902 MB / 0.6514 GB, free: 11.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.6019, allocations: 195.2 kB / 0.6515 GB, free: 11 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.6048, allocations: 0.8735 MB / 0.6524 GB, free: 10.12 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009244/0.614, allocations: 3.864 MB / 0.6562 GB, free: 6.164 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/0.6173, allocations: 167.5 kB / 0.6563 GB, free: 6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005396/0.6178, allocations: 231.9 kB / 0.6565 GB, free: 5.773 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003952/0.6218, allocations: 1.57 MB / 0.6581 GB, free: 4.172 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004297/0.626, allocations: 2.954 MB / 0.661 GB, free: 488 kB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007262/0.6333, allocations: 4.301 MB / 0.6652 GB, free: 11.5 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.751e-05/0.6333, allocations: 12 kB / 0.6652 GB, free: 11.49 MB / 0.5418 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.009596/0.6429, allocations: 4.232 MB / 0.6693 GB, free: 7.234 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.6431, allocations: 156 kB / 0.6695 GB, free: 7.059 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006475/0.6496, allocations: 2.863 MB / 0.6722 GB, free: 4.156 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008504/0.6504, allocations: 159.7 kB / 0.6724 GB, free: 4 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.6534, allocations: 0.8774 MB / 0.6733 GB, free: 3.121 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00834/0.6617, allocations: 3.05 MB / 0.6762 GB, free: 0 / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.6647, allocations: 151.7 kB / 0.6764 GB, free: 15.85 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005029/0.6652, allocations: 227.9 kB / 0.6766 GB, free: 15.62 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 28 (p_out_n3.nextEventScaled,p_out_n3.nextEvent,$PRE.p_out_n3.nextEvent,p_out_n3.last,p_out_n3.b,p_out_n3.a,p_out_n2.nextEventScaled,p_out_n2.nextEvent,$PRE.p_out_n2.nextEvent,p_out_n2.last,p_out_n2.b,p_out_n2.a,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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 4 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001425/0.6666, allocations: 0.6243 MB / 0.6772 GB, free: 14.97 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/0.6678, allocations: 436 kB / 0.6776 GB, free: 14.55 MB / 0.5574 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 388 equation(s) and 372 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_1.summary.inlet.steamQuality, pump_1.fluidIn.cp, pump_1.fluidIn.cv, pump_1.fluidIn.beta, pump_1.fluidIn.kappa, pump_1.fluidIn.drhodp_hxi, pump_1.fluidIn.drhodh_pxi, _, pump_1.fluidIn.w, pump_1.fluidIn.gamma) = ($cse49, $cse50, $cse51, $cse52, $cse53, $cse54, $cse55, $cse56, $cse57, $cse58) has size 9 but 7 variables ($whenCondition1, ramp1.a, ramp1.b, ramp1.last, ramp1.nextEvent, ramp1.nextEventScaled, ramp1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007559/0.6754, allocations: 3.647 MB / 0.6812 GB, free: 11.04 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.621544457040727]