Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01245/0.01245, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.009696/0.009696, allocations: 75.12 kB / 24.44 MB, free: 7.012 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.001615/0.001615, allocations: 166.1 kB / 28.2 MB, free: 4.535 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.487/1.487, allocations: 177.1 MB / 209 MB, free: 2.832 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.098/1.098, allocations: 102.5 MB / 368.3 MB, free: 1.293 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.5.2 (/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_dev_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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 468.3 MB, free: 13.48 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.656e-05/4.89e-05, allocations: 3.719 kB / 468.3 MB, free: 13.48 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.2069/0.207, allocations: 60.8 MB / 0.5167 GB, free: 0.6484 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.294/0.5009, allocations: 18.35 MB / 0.5346 GB, free: 66.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003662/0.5046, allocations: 80.56 kB / 0.5347 GB, free: 66.01 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004778/0.5094, allocations: 1.619 MB / 0.5363 GB, free: 65.31 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005944/0.5153, allocations: 1.962 MB / 0.5382 GB, free: 64.17 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.5221, allocations: 2.572 MB / 0.5407 GB, free: 62.89 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.007669/0.5298, allocations: 4.65 MB / 0.5452 GB, free: 60.59 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/0.5332, allocations: 1.497 MB / 0.5467 GB, free: 59.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008161/0.5414, allocations: 2.609 MB / 0.5492 GB, free: 58.52 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005406/0.5468, allocations: 1.784 MB / 0.551 GB, free: 57.97 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001836/0.5486, allocations: 308.5 kB / 0.5513 GB, free: 57.97 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09642/0.645, allocations: 17.46 MB / 0.5683 GB, free: 48.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.6473, allocations: 1.012 MB / 0.5693 GB, free: 47.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004428/0.6517, allocations: 1.091 MB / 0.5704 GB, free: 47.39 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.6649, allocations: 6.121 MB / 0.5764 GB, free: 44.07 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6649, allocations: 2.656 kB / 0.5764 GB, free: 44.07 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6649, allocations: 0 / 0.5764 GB, free: 44.07 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002355/0.6651, allocations: 0 / 0.5764 GB, free: 44.07 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.01046/0.6756, allocations: 4.307 MB / 0.5806 GB, free: 40.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6756, allocations: 13.5 kB / 0.5806 GB, free: 40.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.6774, allocations: 0.6542 MB / 0.5812 GB, free: 40.57 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/0.6831, allocations: 3.384 MB / 0.5845 GB, free: 37.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.6832, allocations: 145.6 kB / 0.5847 GB, free: 36.98 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.6834, allocations: 196.3 kB / 0.5849 GB, free: 36.79 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/0.6907, allocations: 4.459 MB / 0.5892 GB, free: 31.66 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/0.6908, allocations: 27.75 kB / 0.5892 GB, free: 31.63 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.6909, allocations: 92 kB / 0.5893 GB, free: 31.54 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.691, allocations: 60 kB / 0.5894 GB, free: 31.48 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006249/0.6972, allocations: 2.878 MB / 0.5922 GB, free: 28.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.7104, allocations: 17.82 MB / 0.6096 GB, free: 10.14 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005828/0.7162, allocations: 2.392 MB / 0.6119 GB, free: 7.648 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.7177, allocations: 0.9383 MB / 0.6129 GB, free: 6.652 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.718, allocations: 115.8 kB / 0.613 GB, free: 6.539 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004663/0.7226, allocations: 2.299 MB / 0.6152 GB, free: 4.117 MB / 490.8 MB Notification: Performance of pre-optimization done (n=332): time 4.308e-06/0.7226, allocations: 0 / 0.6152 GB, free: 4.117 MB / 490.8 MB Notification: Performance of matching and sorting (n=333): time 0.03223/0.7549, allocations: 16.63 MB / 0.6314 GB, free: 3.266 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000637/0.7555, allocations: 0.7509 MB / 0.6322 GB, free: 2.344 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004804/0.7603, allocations: 2.762 MB / 0.6349 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004725/0.7608, allocations: 53.7 kB / 0.6349 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.7624, allocations: 1.417 MB / 0.6363 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/0.7638, allocations: 1.096 MB / 0.6374 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.765, allocations: 0.7181 MB / 0.6381 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.7652, allocations: 301.1 kB / 0.6384 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/0.7677, allocations: 1.249 MB / 0.6396 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/0.7716, allocations: 2.473 MB / 0.642 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/0.7785, allocations: 3.855 MB / 0.6458 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/0.7786, allocations: 12 kB / 0.6458 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.01001/0.7886, allocations: 4.48 MB / 0.6502 GB, free: 14.76 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.7887, allocations: 154.8 kB / 0.6503 GB, free: 14.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006826/0.7956, allocations: 3.17 MB / 0.6534 GB, free: 11.37 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009951/0.7965, allocations: 184.2 kB / 0.6536 GB, free: 11.18 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/0.7994, allocations: 0.8813 MB / 0.6544 GB, free: 10.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008634/0.8081, allocations: 2.991 MB / 0.6574 GB, free: 7.238 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.8105, allocations: 163.5 kB / 0.6575 GB, free: 7.078 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004283/0.8109, allocations: 238.5 kB / 0.6577 GB, free: 6.848 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003953/0.8149, allocations: 1.84 MB / 0.6595 GB, free: 4.977 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003796/0.8187, allocations: 2.455 MB / 0.6619 GB, free: 1.969 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006784/0.8255, allocations: 3.861 MB / 0.6657 GB, free: 13.61 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.919e-05/0.8255, allocations: 12 kB / 0.6657 GB, free: 13.6 MB / 0.5418 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.009773/0.8353, allocations: 4.437 MB / 0.67 GB, free: 9.125 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.8354, allocations: 154.7 kB / 0.6702 GB, free: 8.949 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006661/0.8421, allocations: 3.131 MB / 0.6733 GB, free: 5.773 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007915/0.8429, allocations: 155.4 kB / 0.6734 GB, free: 5.621 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.8457, allocations: 0.8813 MB / 0.6743 GB, free: 4.738 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.8537, allocations: 2.444 MB / 0.6766 GB, free: 2.246 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.8565, allocations: 166.3 kB / 0.6768 GB, free: 2.086 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004374/0.8569, allocations: 223.9 kB / 0.677 GB, free: 1.867 MB / 0.5418 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.001505/0.8584, allocations: 0.5419 MB / 0.6775 GB, free: 1.297 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.8595, allocations: 436 kB / 0.678 GB, free: 0.8711 MB / 0.5418 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.007749/0.8672, allocations: 3.687 MB / 0.6816 GB, free: 13.32 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.850592268048786]