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.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.008488/0.008488, allocations: 80.64 kB / 24.44 MB, free: 7.531 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.001702/0.001702, allocations: 160.8 kB / 28.2 MB, free: 4.668 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.413/1.413, allocations: 177.2 MB / 209 MB, free: 2.785 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.133/1.133, allocations: 102.5 MB / 368.4 MB, free: 1.32 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 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_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.833e-06/1.833e-06, allocations: 0 / 468.3 MB, free: 13.54 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.622e-05, allocations: 4.703 kB / 468.3 MB, free: 13.53 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.1927/0.1928, allocations: 60.8 MB / 0.5167 GB, free: 0.6641 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.231/0.4238, allocations: 18.34 MB / 0.5346 GB, free: 66.2 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.4268, allocations: 85.03 kB / 0.5347 GB, free: 66.16 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004427/0.4313, allocations: 1.62 MB / 0.5363 GB, free: 65.45 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.4365, allocations: 1.957 MB / 0.5382 GB, free: 64.32 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005895/0.4424, allocations: 2.579 MB / 0.5407 GB, free: 63.03 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005925/0.4484, allocations: 4.65 MB / 0.5453 GB, free: 60.73 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.4513, allocations: 1.496 MB / 0.5467 GB, free: 59.77 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006402/0.4577, allocations: 2.607 MB / 0.5493 GB, free: 58.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004167/0.4619, allocations: 1.78 MB / 0.551 GB, free: 58.11 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.4632, allocations: 309.1 kB / 0.5513 GB, free: 58.11 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09463/0.5579, allocations: 17.46 MB / 0.5684 GB, free: 48.63 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.5597, allocations: 1.009 MB / 0.5693 GB, free: 48.04 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.5632, allocations: 1.1 MB / 0.5704 GB, free: 47.52 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.5781, allocations: 6.102 MB / 0.5764 GB, free: 44.16 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.5781, allocations: 3.984 kB / 0.5764 GB, free: 44.16 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5781, allocations: 2.656 kB / 0.5764 GB, free: 44.16 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002884/0.5784, allocations: 0 / 0.5764 GB, free: 44.16 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.01196/0.5903, allocations: 4.313 MB / 0.5806 GB, free: 41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5904, allocations: 9.656 kB / 0.5806 GB, free: 41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.5926, allocations: 0.6573 MB / 0.5812 GB, free: 40.57 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/0.5991, allocations: 3.387 MB / 0.5845 GB, free: 37.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.5992, allocations: 144.1 kB / 0.5847 GB, free: 36.98 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/0.5997, allocations: 204.3 kB / 0.5849 GB, free: 36.78 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008301/0.608, allocations: 4.455 MB / 0.5892 GB, free: 31.65 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-05/0.6081, allocations: 27.81 kB / 0.5893 GB, free: 31.62 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.6083, allocations: 92 kB / 0.5893 GB, free: 31.53 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/0.6084, allocations: 63.98 kB / 0.5894 GB, free: 31.47 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00652/0.6149, allocations: 2.874 MB / 0.5922 GB, free: 28.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.6293, allocations: 17.83 MB / 0.6096 GB, free: 10.13 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/0.6355, allocations: 2.39 MB / 0.612 GB, free: 7.641 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.6371, allocations: 0.9382 MB / 0.6129 GB, free: 6.645 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.6374, allocations: 113.2 kB / 0.613 GB, free: 6.531 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005201/0.6426, allocations: 2.307 MB / 0.6152 GB, free: 4.102 MB / 490.8 MB Notification: Performance of pre-optimization done (n=332): time 9.668e-06/0.6426, allocations: 0 / 0.6152 GB, free: 4.102 MB / 490.8 MB Notification: Performance of matching and sorting (n=333): time 0.03528/0.6779, allocations: 16.62 MB / 0.6315 GB, free: 3.25 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005922/0.6785, allocations: 0.7508 MB / 0.6322 GB, free: 2.328 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005377/0.6839, allocations: 2.766 MB / 0.6349 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005355/0.6844, allocations: 57.7 kB / 0.635 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.686, allocations: 1.405 MB / 0.6363 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/0.6877, allocations: 1.1 MB / 0.6374 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.689, allocations: 0.7181 MB / 0.6381 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6892, allocations: 301.1 kB / 0.6384 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.692, allocations: 1.249 MB / 0.6396 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004037/0.696, allocations: 2.469 MB / 0.642 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007391/0.7034, allocations: 3.859 MB / 0.6458 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-05/0.7034, allocations: 12 kB / 0.6458 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.0114/0.7148, allocations: 4.484 MB / 0.6502 GB, free: 14.75 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.715, allocations: 150.8 kB / 0.6503 GB, free: 14.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0076/0.7226, allocations: 3.166 MB / 0.6534 GB, free: 11.36 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.7237, allocations: 180.2 kB / 0.6536 GB, free: 11.18 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/0.7269, allocations: 0.8774 MB / 0.6544 GB, free: 10.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00932/0.7362, allocations: 2.998 MB / 0.6574 GB, free: 7.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.7394, allocations: 174.1 kB / 0.6575 GB, free: 7.062 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008906/0.7403, allocations: 227.9 kB / 0.6578 GB, free: 6.84 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005116/0.7454, allocations: 1.844 MB / 0.6596 GB, free: 4.965 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004564/0.75, allocations: 2.451 MB / 0.6619 GB, free: 1.961 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007843/0.7578, allocations: 3.866 MB / 0.6657 GB, free: 13.6 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.497e-05/0.7579, allocations: 12 kB / 0.6657 GB, free: 13.59 MB / 0.5418 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.01175/0.7696, allocations: 4.437 MB / 0.6701 GB, free: 9.113 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.7698, allocations: 158.6 kB / 0.6702 GB, free: 8.934 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007153/0.7769, allocations: 3.135 MB / 0.6733 GB, free: 5.754 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008521/0.7778, allocations: 158.1 kB / 0.6734 GB, free: 5.602 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.7808, allocations: 0.8879 MB / 0.6743 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007957/0.7888, allocations: 2.437 MB / 0.6767 GB, free: 2.227 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.7915, allocations: 159.6 kB / 0.6768 GB, free: 2.07 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000724/0.7922, allocations: 227.9 kB / 0.677 GB, free: 1.848 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.00142/0.7936, allocations: 0.544 MB / 0.6776 GB, free: 1.277 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/0.7951, allocations: 429.5 kB / 0.678 GB, free: 0.8555 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.008193/0.8033, allocations: 3.692 MB / 0.6816 GB, free: 13.3 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.704000181984156]