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.008582/0.008582, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007625/0.0007625, allocations: 90.67 kB / 25.62 MB, free: 6.535 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.0008618/0.0008618, allocations: 166.2 kB / 29.46 MB, free: 3.035 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.8739/0.8739, allocations: 177.1 MB / 210.3 MB, free: 1.75 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.7125/0.7125, allocations: 102.5 MB / 369.8 MB, free: 0.9609 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.493e-06/1.493e-06, allocations: 0 / 469.9 MB, free: 13.01 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.971e-05, allocations: 8.562 kB / 469.9 MB, free: 13 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.3125/0.3125, allocations: 64.76 MB / 0.5221 GB, free: 73.39 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0237/0.3362, allocations: 19.14 MB / 0.5408 GB, free: 63.15 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/0.3393, allocations: 84.59 kB / 0.5409 GB, free: 63.11 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.3433, allocations: 1.628 MB / 0.5425 GB, free: 62.4 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.3479, allocations: 1.961 MB / 0.5444 GB, free: 61.26 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00538/0.3533, allocations: 2.571 MB / 0.5469 GB, free: 59.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.00693/0.3602, allocations: 4.648 MB / 0.5514 GB, free: 57.67 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/0.3632, allocations: 1.535 MB / 0.5529 GB, free: 56.68 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006224/0.3694, allocations: 2.605 MB / 0.5555 GB, free: 55.58 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.3737, allocations: 1.78 MB / 0.5572 GB, free: 55.03 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.3749, allocations: 308.4 kB / 0.5575 GB, free: 55.03 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.3797, allocations: 1.988 MB / 0.5595 GB, free: 54.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000947/0.3807, allocations: 1.007 MB / 0.5604 GB, free: 53.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002459/0.3831, allocations: 1.102 MB / 0.5615 GB, free: 53.37 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007716/0.3908, allocations: 4.487 MB / 0.5659 GB, free: 51.43 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3908, allocations: 0 / 0.5659 GB, free: 51.43 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3908, allocations: 1.375 kB / 0.5659 GB, free: 51.43 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001514/0.391, allocations: 0.5625 kB / 0.5659 GB, free: 51.43 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.006342/0.3973, allocations: 4.521 MB / 0.5703 GB, free: 48.1 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3974, allocations: 10.03 kB / 0.5703 GB, free: 48.1 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.3986, allocations: 0.6563 MB / 0.571 GB, free: 47.76 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.4025, allocations: 3.031 MB / 0.5739 GB, free: 45.73 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.4025, allocations: 145.3 kB / 0.5741 GB, free: 45.66 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.4027, allocations: 199.6 kB / 0.5743 GB, free: 45.59 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.4075, allocations: 4.253 MB / 0.5784 GB, free: 41.77 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.521e-05/0.4076, allocations: 26.75 kB / 0.5784 GB, free: 41.76 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.4077, allocations: 94.72 kB / 0.5785 GB, free: 41.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.4078, allocations: 59.97 kB / 0.5786 GB, free: 41.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004005/0.4118, allocations: 2.036 MB / 0.5806 GB, free: 40.06 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008656/0.4204, allocations: 24.63 MB / 0.6046 GB, free: 14.63 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.4239, allocations: 1.952 MB / 0.6065 GB, free: 12.54 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/0.4245, allocations: 0.6205 MB / 0.6071 GB, free: 11.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.4247, allocations: 114.3 kB / 0.6072 GB, free: 11.74 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002822/0.4276, allocations: 1.898 MB / 0.6091 GB, free: 9.695 MB / 490.8 MB Notification: Performance of pre-optimization done (n=332): time 5.49e-06/0.4276, allocations: 0 / 0.6091 GB, free: 9.695 MB / 490.8 MB Notification: Performance of matching and sorting (n=333): time 0.01611/0.4437, allocations: 14.58 MB / 0.6233 GB, free: 10.89 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002966/0.444, allocations: 0.7507 MB / 0.6241 GB, free: 9.973 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.4473, allocations: 2.641 MB / 0.6266 GB, free: 7.312 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.4475, allocations: 53.81 kB / 0.6267 GB, free: 7.254 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/0.4484, allocations: 1.541 MB / 0.6282 GB, free: 5.695 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/0.4492, allocations: 1.115 MB / 0.6293 GB, free: 4.57 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/0.45, allocations: 0.7522 MB / 0.63 GB, free: 3.809 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.4501, allocations: 480.8 kB / 0.6305 GB, free: 3.336 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.4512, allocations: 0.6999 MB / 0.6312 GB, free: 2.602 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.4531, allocations: 2.387 MB / 0.6335 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.4564, allocations: 3.233 MB / 0.6367 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.4564, allocations: 8 kB / 0.6367 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.005352/0.4618, allocations: 3.357 MB / 0.6399 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/0.4619, allocations: 156.3 kB / 0.6401 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003109/0.465, allocations: 2.11 MB / 0.6421 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/0.4655, allocations: 151.3 kB / 0.6423 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.4671, allocations: 0.8813 MB / 0.6432 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/0.4712, allocations: 3.629 MB / 0.6467 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.4733, allocations: 163.5 kB / 0.6469 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/0.4737, allocations: 231.9 kB / 0.6471 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002049/0.4757, allocations: 0.8472 MB / 0.6479 GB, free: 15.81 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002027/0.4777, allocations: 2.387 MB / 0.6502 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003415/0.4812, allocations: 3.229 MB / 0.6534 GB, free: 8.785 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.096e-05/0.4812, allocations: 12 kB / 0.6534 GB, free: 8.773 MB / 0.5262 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.005218/0.4864, allocations: 3.328 MB / 0.6566 GB, free: 5.418 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.537e-05/0.4865, allocations: 150.8 kB / 0.6568 GB, free: 5.246 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003086/0.4896, allocations: 2.082 MB / 0.6588 GB, free: 3.125 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.4899, allocations: 131.9 kB / 0.659 GB, free: 2.996 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.4915, allocations: 0.8735 MB / 0.6598 GB, free: 2.121 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.4951, allocations: 2.829 MB / 0.6626 GB, free: 15.22 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.4969, allocations: 159.5 kB / 0.6627 GB, free: 15.07 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.4972, allocations: 231.9 kB / 0.6629 GB, free: 14.84 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.0008608/0.498, allocations: 0.631 MB / 0.6636 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007715/0.4988, allocations: 428.1 kB / 0.664 GB, free: 13.76 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.004222/0.503, allocations: 3.352 MB / 0.6672 GB, free: 10.55 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1325301490724087]