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.008489/0.008489, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0007783/0.0007783, allocations: 88.61 kB / 25.15 MB, free: 6.316 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.0008736/0.0008736, allocations: 161.6 kB / 29.05 MB, free: 3.352 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 0.935/0.935, allocations: 177.1 MB / 210 MB, free: 3.605 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6145/0.6145, allocations: 102.4 MB / 369.5 MB, free: 372 kB / 330.7 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 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_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 1.483e-06/1.483e-06, allocations: 0 / 469.9 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.6e-05, allocations: 7.375 kB / 469.9 MB, free: 18.95 MB / 410.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.1158/0.1158, allocations: 64.87 MB / 0.5223 GB, free: 7.07 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02287/0.1386, allocations: 19.17 MB / 0.541 GB, free: 3.852 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.1409, allocations: 83.38 kB / 0.5411 GB, free: 3.77 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.1438, allocations: 1.62 MB / 0.5427 GB, free: 2.141 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.1468, allocations: 1.964 MB / 0.5446 GB, free: 168 kB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.1509, allocations: 2.578 MB / 0.5471 GB, free: 13.58 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.1546, allocations: 4.656 MB / 0.5516 GB, free: 8.906 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.1558, allocations: 1.55 MB / 0.5532 GB, free: 7.32 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.1576, allocations: 2.599 MB / 0.5557 GB, free: 4.715 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.1591, allocations: 1.786 MB / 0.5574 GB, free: 2.926 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.1594, allocations: 311.9 kB / 0.5577 GB, free: 2.621 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.1623, allocations: 1.975 MB / 0.5597 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005613/0.1629, allocations: 1.008 MB / 0.5607 GB, free: 15.63 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000777/0.1637, allocations: 1.102 MB / 0.5617 GB, free: 14.53 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.168, allocations: 4.488 MB / 0.5661 GB, free: 10.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.168, allocations: 0 / 0.5661 GB, free: 10.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.168, allocations: 4 kB / 0.5661 GB, free: 10.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.168, allocations: 0 / 0.5661 GB, free: 10.02 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.00397/0.172, allocations: 4.528 MB / 0.5705 GB, free: 5.406 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.172, allocations: 12.03 kB / 0.5705 GB, free: 5.395 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.1732, allocations: 0.6581 MB / 0.5712 GB, free: 4.734 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.1773, allocations: 3.034 MB / 0.5742 GB, free: 1.621 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.1774, allocations: 144.1 kB / 0.5743 GB, free: 1.48 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.1777, allocations: 200.1 kB / 0.5745 GB, free: 1.285 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.1835, allocations: 4.252 MB / 0.5786 GB, free: 12.16 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/0.1836, allocations: 27.75 kB / 0.5787 GB, free: 12.13 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.1838, allocations: 95.94 kB / 0.5788 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.1838, allocations: 60 kB / 0.5788 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004392/0.1882, allocations: 2.043 MB / 0.5808 GB, free: 9.898 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.2016, allocations: 24.62 MB / 0.6048 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.206, allocations: 1.958 MB / 0.6068 GB, free: 14.33 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.2071, allocations: 0.6182 MB / 0.6074 GB, free: 13.64 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.2074, allocations: 117.1 kB / 0.6075 GB, free: 13.52 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003743/0.2111, allocations: 1.9 MB / 0.6093 GB, free: 11.47 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=332): time 4.428e-06/0.2111, allocations: 0 / 0.6093 GB, free: 11.47 MB / 0.5262 GB Notification: Performance of matching and sorting (n=333): time 0.01891/0.23, allocations: 14.58 MB / 0.6236 GB, free: 12.64 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002601/0.2303, allocations: 0.7584 MB / 0.6243 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.2332, allocations: 2.629 MB / 0.6269 GB, free: 9.07 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.2333, allocations: 57.7 kB / 0.6269 GB, free: 9.008 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009085/0.2342, allocations: 1.533 MB / 0.6284 GB, free: 7.457 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005816/0.2348, allocations: 1.115 MB / 0.6295 GB, free: 6.332 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000664/0.2355, allocations: 0.7535 MB / 0.6303 GB, free: 5.566 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.2356, allocations: 480.8 kB / 0.6307 GB, free: 5.094 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009171/0.2365, allocations: 0.6997 MB / 0.6314 GB, free: 4.359 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.2381, allocations: 2.391 MB / 0.6337 GB, free: 1.227 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/0.2412, allocations: 3.233 MB / 0.6369 GB, free: 13.26 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.2412, allocations: 8 kB / 0.6369 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.004101/0.2453, allocations: 3.355 MB / 0.6402 GB, free: 9.832 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.968e-05/0.2454, allocations: 150.8 kB / 0.6403 GB, free: 9.66 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002841/0.2482, allocations: 2.118 MB / 0.6424 GB, free: 7.484 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.2486, allocations: 155.2 kB / 0.6425 GB, free: 7.324 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.25, allocations: 0.8774 MB / 0.6434 GB, free: 6.445 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.2536, allocations: 3.627 MB / 0.6469 GB, free: 2.664 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/0.2545, allocations: 167.6 kB / 0.6471 GB, free: 2.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.2548, allocations: 231.9 kB / 0.6473 GB, free: 2.273 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001341/0.2561, allocations: 0.8472 MB / 0.6481 GB, free: 1.395 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2087/0.4648, allocations: 2.385 MB / 0.6505 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002936/0.4678, allocations: 3.23 MB / 0.6536 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.441e-05/0.4678, allocations: 11.53 kB / 0.6536 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004593/0.4724, allocations: 3.326 MB / 0.6569 GB, free: 105.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.4725, allocations: 149.7 kB / 0.657 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003183/0.4756, allocations: 2.085 MB / 0.6591 GB, free: 104.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.476, allocations: 122.8 kB / 0.6592 GB, free: 104.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.4779, allocations: 0.8783 MB / 0.66 GB, free: 104.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.4815, allocations: 2.827 MB / 0.6628 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4829, allocations: 157.1 kB / 0.6629 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/0.4832, allocations: 231.3 kB / 0.6632 GB, free: 102.9 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.0007122/0.4839, allocations: 0.6247 MB / 0.6638 GB, free: 102.6 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/0.4845, allocations: 432.2 kB / 0.6642 GB, free: 102.6 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.004169/0.4886, allocations: 3.35 MB / 0.6675 GB, free: 102.2 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.096003631129861]