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.01203/0.01203, allocations: 1.795 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.0007891/0.0007891, allocations: 85.64 kB / 25.61 MB, free: 6.945 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.0008501/0.0008501, allocations: 170.7 kB / 29.46 MB, free: 3.152 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.9079/0.9079, allocations: 177.1 MB / 210.3 MB, free: 3.586 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.6176/0.6176, allocations: 102.4 MB / 369.8 MB, free: 364 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.402e-06/1.402e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.252e-05, allocations: 5.406 kB / 469.9 MB, free: 18.98 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.1057/0.1057, allocations: 64.76 MB / 0.5221 GB, free: 7.531 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.1247, allocations: 19.14 MB / 0.5408 GB, free: 4.34 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.1262, allocations: 79.38 kB / 0.5409 GB, free: 4.262 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.1288, allocations: 1.624 MB / 0.5424 GB, free: 2.629 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.1313, allocations: 1.964 MB / 0.5444 GB, free: 0.6523 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.1356, allocations: 2.579 MB / 0.5469 GB, free: 14.07 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.1396, allocations: 4.645 MB / 0.5514 GB, free: 9.402 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.141, allocations: 1.55 MB / 0.5529 GB, free: 7.816 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.1429, allocations: 2.599 MB / 0.5555 GB, free: 5.211 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.1443, allocations: 1.788 MB / 0.5572 GB, free: 3.422 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.1446, allocations: 312 kB / 0.5575 GB, free: 3.117 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.1471, allocations: 1.987 MB / 0.5595 GB, free: 1.129 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.1477, allocations: 1.008 MB / 0.5604 GB, free: 120 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007699/0.1485, allocations: 1.099 MB / 0.5615 GB, free: 15.01 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.1522, allocations: 4.492 MB / 0.5659 GB, free: 10.51 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1522, allocations: 0 / 0.5659 GB, free: 10.51 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1522, allocations: 4 kB / 0.5659 GB, free: 10.5 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.1523, allocations: 0 / 0.5659 GB, free: 10.5 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.004156/0.1564, allocations: 4.516 MB / 0.5703 GB, free: 5.902 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1565, allocations: 16.03 kB / 0.5703 GB, free: 5.887 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/0.1574, allocations: 0.6542 MB / 0.571 GB, free: 5.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.1608, allocations: 3.033 MB / 0.5739 GB, free: 2.121 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.1609, allocations: 144.1 kB / 0.5741 GB, free: 1.98 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1611, allocations: 196.1 kB / 0.5743 GB, free: 1.789 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.1657, allocations: 4.252 MB / 0.5784 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.1658, allocations: 27.75 kB / 0.5784 GB, free: 12.63 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.1659, allocations: 92 kB / 0.5785 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.1659, allocations: 63.98 kB / 0.5786 GB, free: 12.48 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.1695, allocations: 2.027 MB / 0.5806 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.1813, allocations: 24.62 MB / 0.6046 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.1848, allocations: 1.958 MB / 0.6065 GB, free: 14.84 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/0.1855, allocations: 0.6143 MB / 0.6071 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.1857, allocations: 129 kB / 0.6072 GB, free: 14.03 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002831/0.1885, allocations: 1.892 MB / 0.6091 GB, free: 11.98 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=332): time 3.277e-06/0.1885, allocations: 0 / 0.6091 GB, free: 11.98 MB / 0.5262 GB Notification: Performance of matching and sorting (n=333): time 0.01496/0.2035, allocations: 14.58 MB / 0.6233 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002057/0.2037, allocations: 0.7545 MB / 0.6241 GB, free: 12.24 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.206, allocations: 2.633 MB / 0.6266 GB, free: 9.586 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.2061, allocations: 57.7 kB / 0.6267 GB, free: 9.523 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008323/0.2069, allocations: 1.533 MB / 0.6282 GB, free: 7.973 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006206/0.2076, allocations: 1.115 MB / 0.6293 GB, free: 6.848 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008503/0.2084, allocations: 0.7496 MB / 0.63 GB, free: 6.086 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.2085, allocations: 484.7 kB / 0.6305 GB, free: 5.609 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009379/0.2094, allocations: 0.6919 MB / 0.6311 GB, free: 4.883 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.2111, allocations: 2.403 MB / 0.6335 GB, free: 1.738 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.214, allocations: 3.228 MB / 0.6366 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.214, allocations: 8 kB / 0.6367 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.004296/0.2183, allocations: 3.363 MB / 0.6399 GB, free: 10.34 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/0.2184, allocations: 150.8 kB / 0.6401 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002995/0.2214, allocations: 2.118 MB / 0.6421 GB, free: 7.992 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.2218, allocations: 155.2 kB / 0.6423 GB, free: 7.832 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.2233, allocations: 0.8774 MB / 0.6432 GB, free: 6.953 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.227, allocations: 3.631 MB / 0.6467 GB, free: 3.168 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.2282, allocations: 171.6 kB / 0.6469 GB, free: 3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.2284, allocations: 227.9 kB / 0.6471 GB, free: 2.777 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001529/0.23, allocations: 0.8472 MB / 0.6479 GB, free: 1.898 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.199/0.4289, allocations: 2.383 MB / 0.6502 GB, free: 149.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003701/0.4326, allocations: 3.228 MB / 0.6534 GB, free: 147.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.916e-05/0.4327, allocations: 8.062 kB / 0.6534 GB, free: 147.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.005353/0.438, allocations: 3.325 MB / 0.6566 GB, free: 146.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/0.4381, allocations: 155.8 kB / 0.6568 GB, free: 146.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003286/0.4414, allocations: 2.078 MB / 0.6588 GB, free: 146.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.4417, allocations: 129.8 kB / 0.6589 GB, free: 146.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.4437, allocations: 0.8797 MB / 0.6598 GB, free: 146.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.4481, allocations: 2.828 MB / 0.6626 GB, free: 144.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.4495, allocations: 152.4 kB / 0.6627 GB, free: 144.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.4497, allocations: 233.9 kB / 0.6629 GB, free: 144.4 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.0006451/0.4504, allocations: 0.6299 MB / 0.6635 GB, free: 143.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.4508, allocations: 428.6 kB / 0.664 GB, free: 143.9 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.003665/0.4545, allocations: 3.343 MB / 0.6672 GB, free: 143.5 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0181103229988366]