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.008357/0.008357, allocations: 1.795 MB / 21.35 MB, free: 3.184 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.00138/0.00138, allocations: 83.19 kB / 25.15 MB, free: 6.957 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.001664/0.001664, allocations: 161.7 kB / 29.06 MB, free: 3.508 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.9305/0.9305, allocations: 177.2 MB / 210 MB, free: 2.426 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.8083/0.8083, allocations: 102.5 MB / 369.5 MB, free: 1 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.923e-06/1.923e-06, allocations: 0 / 470 MB, free: 12.7 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.258e-05, allocations: 2.312 kB / 470 MB, free: 12.69 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.3642/0.3642, allocations: 64.86 MB / 0.5223 GB, free: 73.83 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.3835, allocations: 19.18 MB / 0.541 GB, free: 63.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.3852, allocations: 81.62 kB / 0.5411 GB, free: 63.01 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.3879, allocations: 1.62 MB / 0.5427 GB, free: 62.3 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.3905, allocations: 1.968 MB / 0.5446 GB, free: 61.16 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004177/0.3947, allocations: 2.572 MB / 0.5471 GB, free: 59.88 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004269/0.399, allocations: 4.648 MB / 0.5516 GB, free: 57.57 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.4008, allocations: 1.541 MB / 0.5532 GB, free: 56.58 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.4039, allocations: 2.613 MB / 0.5557 GB, free: 55.47 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.4063, allocations: 1.77 MB / 0.5574 GB, free: 54.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006492/0.407, allocations: 310.8 kB / 0.5577 GB, free: 54.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.4101, allocations: 1.988 MB / 0.5597 GB, free: 54.38 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006836/0.4108, allocations: 1.004 MB / 0.5607 GB, free: 53.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.412, allocations: 1.1 MB / 0.5617 GB, free: 53.27 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005402/0.4174, allocations: 4.49 MB / 0.5661 GB, free: 51.09 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4174, allocations: 0 / 0.5661 GB, free: 51.09 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4174, allocations: 5.281 kB / 0.5661 GB, free: 51.09 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.138e-05/0.4175, allocations: 0 / 0.5661 GB, free: 51.09 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.00499/0.4225, allocations: 4.515 MB / 0.5705 GB, free: 47.76 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4225, allocations: 15.38 kB / 0.5705 GB, free: 47.75 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4236, allocations: 0.6519 MB / 0.5712 GB, free: 47.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.4274, allocations: 3.047 MB / 0.5742 GB, free: 45.38 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.573e-05/0.4275, allocations: 147.6 kB / 0.5743 GB, free: 45.31 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.4278, allocations: 204.9 kB / 0.5745 GB, free: 45.24 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005278/0.433, allocations: 4.246 MB / 0.5786 GB, free: 41.43 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.4331, allocations: 25.34 kB / 0.5787 GB, free: 41.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.4333, allocations: 94.75 kB / 0.5787 GB, free: 41.35 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.4333, allocations: 67.73 kB / 0.5788 GB, free: 41.35 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004204/0.4375, allocations: 2.032 MB / 0.5808 GB, free: 39.38 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009332/0.4469, allocations: 24.63 MB / 0.6048 GB, free: 13.95 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.4509, allocations: 1.947 MB / 0.6068 GB, free: 11.86 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/0.4517, allocations: 0.6198 MB / 0.6074 GB, free: 11.18 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.4519, allocations: 121.1 kB / 0.6075 GB, free: 11.06 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003425/0.4553, allocations: 1.896 MB / 0.6093 GB, free: 9.012 MB / 490.8 MB Notification: Performance of pre-optimization done (n=332): time 4.428e-06/0.4553, allocations: 2.656 kB / 0.6093 GB, free: 9.012 MB / 490.8 MB Notification: Performance of matching and sorting (n=333): time 0.01789/0.4732, allocations: 14.58 MB / 0.6236 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003358/0.4736, allocations: 0.7572 MB / 0.6243 GB, free: 9.289 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.4765, allocations: 2.637 MB / 0.6269 GB, free: 6.633 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.4767, allocations: 53.7 kB / 0.6269 GB, free: 6.574 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.4778, allocations: 1.533 MB / 0.6284 GB, free: 5.023 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008042/0.4786, allocations: 1.115 MB / 0.6295 GB, free: 3.898 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009506/0.4795, allocations: 0.7574 MB / 0.6303 GB, free: 3.129 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4796, allocations: 476.8 kB / 0.6307 GB, free: 2.66 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.4806, allocations: 0.698 MB / 0.6314 GB, free: 1.93 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.4824, allocations: 2.403 MB / 0.6337 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.4854, allocations: 3.224 MB / 0.6369 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.4855, allocations: 12 kB / 0.6369 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.00433/0.4898, allocations: 3.359 MB / 0.6402 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/0.4899, allocations: 153.5 kB / 0.6403 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002799/0.4927, allocations: 2.105 MB / 0.6424 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.4931, allocations: 157.8 kB / 0.6425 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.4946, allocations: 0.8735 MB / 0.6434 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.4984, allocations: 3.637 MB / 0.6469 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.4996, allocations: 159.6 kB / 0.6471 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.4998, allocations: 227.9 kB / 0.6473 GB, free: 12 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001467/0.5013, allocations: 0.8544 MB / 0.6481 GB, free: 15.13 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001732/0.503, allocations: 2.387 MB / 0.6505 GB, free: 12 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002983/0.506, allocations: 3.232 MB / 0.6536 GB, free: 8.098 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.245e-05/0.506, allocations: 14.69 kB / 0.6536 GB, free: 8.086 MB / 0.5262 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004183/0.5102, allocations: 3.324 MB / 0.6569 GB, free: 4.73 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.5103, allocations: 150.8 kB / 0.657 GB, free: 4.559 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002901/0.5132, allocations: 2.09 MB / 0.6591 GB, free: 2.43 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.5135, allocations: 122.3 kB / 0.6592 GB, free: 2.309 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.515, allocations: 0.8774 MB / 0.66 GB, free: 1.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.5183, allocations: 2.828 MB / 0.6628 GB, free: 14.53 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.5195, allocations: 159.1 kB / 0.663 GB, free: 14.38 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.5197, allocations: 231.9 kB / 0.6632 GB, free: 14.15 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.0006692/0.5204, allocations: 0.6183 MB / 0.6638 GB, free: 13.5 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/0.5208, allocations: 437.4 kB / 0.6642 GB, free: 13.07 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.0037/0.5245, allocations: 3.351 MB / 0.6675 GB, free: 9.863 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4458376658149064]