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.01012/0.01012, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.001141/0.001141, allocations: 82.17 kB / 26.19 MB, free: 6.074 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.001336/0.001336, allocations: 175.5 kB / 30.13 MB, free: 2.18 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.9761/0.9761, allocations: 177.2 MB / 211.1 MB, free: 3.43 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6038/0.6038, allocations: 102.5 MB / 370.7 MB, free: 184 kB / 330.7 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.433e-06/1.433e-06, allocations: 0 / 471.2 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.699e-05, allocations: 4.234 kB / 471.2 MB, free: 18.81 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.12/0.12, allocations: 64.48 MB / 0.5232 GB, free: 7.094 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02123/0.1412, allocations: 19.05 MB / 0.5418 GB, free: 3.992 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.1437, allocations: 79.38 kB / 0.5418 GB, free: 3.914 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.1472, allocations: 1.628 MB / 0.5434 GB, free: 2.277 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.1516, allocations: 1.984 MB / 0.5454 GB, free: 288 kB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.1565, allocations: 2.575 MB / 0.5479 GB, free: 13.7 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005422/0.162, allocations: 4.645 MB / 0.5524 GB, free: 9.035 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.164, allocations: 1.546 MB / 0.5539 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1097/0.2737, allocations: 47.86 MB / 0.6007 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.2767, allocations: 1.663 MB / 0.6023 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0007107/0.2774, allocations: 256 kB / 0.6025 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.2807, allocations: 1.898 MB / 0.6044 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000634/0.2814, allocations: 0.887 MB / 0.6053 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.2826, allocations: 1.001 MB / 0.6062 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007506/0.2901, allocations: 4.34 MB / 0.6105 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2901, allocations: 4 kB / 0.6105 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2901, allocations: 0 / 0.6105 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.141e-05/0.2901, allocations: 0 / 0.6105 GB, free: 14.73 MB / 0.5262 GB 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.004303/0.2944, allocations: 4.309 MB / 0.6147 GB, free: 10.34 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2945, allocations: 12.03 kB / 0.6147 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005163/0.295, allocations: 0.549 MB / 0.6152 GB, free: 9.773 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.2973, allocations: 2.136 MB / 0.6173 GB, free: 7.559 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.2974, allocations: 144.1 kB / 0.6175 GB, free: 7.418 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.2976, allocations: 204.1 kB / 0.6177 GB, free: 7.219 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.3016, allocations: 4.112 MB / 0.6217 GB, free: 2.227 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.3016, allocations: 27.75 kB / 0.6217 GB, free: 2.199 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.3018, allocations: 92 kB / 0.6218 GB, free: 2.109 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.3018, allocations: 64 kB / 0.6218 GB, free: 2.047 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.3048, allocations: 1.839 MB / 0.6236 GB, free: 172 kB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.3171, allocations: 24.17 MB / 0.6472 GB, free: 7.164 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.3204, allocations: 1.849 MB / 0.6491 GB, free: 5.16 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.3209, allocations: 0.5478 MB / 0.6496 GB, free: 4.543 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.3211, allocations: 105.2 kB / 0.6497 GB, free: 4.438 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/0.3239, allocations: 1.837 MB / 0.6515 GB, free: 2.445 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=332): time 4.809e-06/0.3239, allocations: 0 / 0.6515 GB, free: 2.445 MB / 0.5574 GB Notification: Performance of matching and sorting (n=333): time 0.2167/0.5406, allocations: 5.837 MB / 0.6572 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.5407, allocations: 0.8551 MB / 0.658 GB, free: 117.3 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.5429, allocations: 2.555 MB / 0.6605 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.5431, allocations: 58.95 kB / 0.6606 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/0.5438, allocations: 1.561 MB / 0.6621 GB, free: 116.3 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/0.5445, allocations: 1.12 MB / 0.6632 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006999/0.5452, allocations: 0.7787 MB / 0.6639 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.5452, allocations: 479.9 kB / 0.6644 GB, free: 115 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.5459, allocations: 0.5858 MB / 0.665 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.547, allocations: 2.433 MB / 0.6673 GB, free: 112.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.5491, allocations: 3.052 MB / 0.6703 GB, free: 110.3 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.5491, allocations: 8.75 kB / 0.6703 GB, free: 110.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.003727/0.5528, allocations: 3.114 MB / 0.6734 GB, free: 109.8 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.5529, allocations: 152.6 kB / 0.6735 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002197/0.5551, allocations: 1.93 MB / 0.6754 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.5555, allocations: 147.2 kB / 0.6755 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5568, allocations: 0.8776 MB / 0.6764 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.5601, allocations: 3.6 MB / 0.6799 GB, free: 106.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.5618, allocations: 165.9 kB / 0.6801 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.5621, allocations: 201.5 kB / 0.6803 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001376/0.5635, allocations: 0.7412 MB / 0.681 GB, free: 106.3 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001253/0.5648, allocations: 2.435 MB / 0.6834 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002146/0.5669, allocations: 3.047 MB / 0.6863 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.936e-05/0.5669, allocations: 11.22 kB / 0.6864 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004251/0.5712, allocations: 3.085 MB / 0.6894 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.5713, allocations: 153.8 kB / 0.6895 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002446/0.5737, allocations: 1.904 MB / 0.6914 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.574, allocations: 123.5 kB / 0.6915 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.5756, allocations: 0.8783 MB / 0.6924 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.5787, allocations: 2.799 MB / 0.6951 GB, free: 98.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.5804, allocations: 159.7 kB / 0.6952 GB, free: 98.77 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.5807, allocations: 205.4 kB / 0.6954 GB, free: 98.77 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.0009088/0.5816, allocations: 0.6361 MB / 0.6961 GB, free: 98.36 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/0.5823, allocations: 431 kB / 0.6965 GB, free: 98.14 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.003865/0.5861, allocations: 3.255 MB / 0.6996 GB, free: 97.64 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.309036549180746]