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.009753/0.009753, allocations: 1.435 MB / 21.29 MB, free: 3.25 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.0006417/0.0006417, allocations: 89.03 kB / 24.9 MB, free: 7.277 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.0007525/0.0007525, allocations: 169.3 kB / 28.62 MB, free: 4.445 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.862/0.862, allocations: 177.2 MB / 209.4 MB, free: 2.969 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.7006/0.7006, allocations: 102.4 MB / 368.7 MB, free: 1.457 MB / 330.8 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 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_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.062e-06/1.062e-06, allocations: 0 / 0.5374 GB, free: 39.98 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.765e-05, allocations: 4.812 kB / 0.5374 GB, free: 39.97 MB / 490.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.1062/0.1063, allocations: 60.6 MB / 0.5966 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01895/0.1252, allocations: 18.33 MB / 0.6145 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.1267, allocations: 83.38 kB / 0.6145 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.1295, allocations: 1.628 MB / 0.6161 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.1327, allocations: 1.96 MB / 0.618 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.1364, allocations: 2.579 MB / 0.6206 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003528/0.14, allocations: 4.653 MB / 0.6251 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.1411, allocations: 1.432 MB / 0.6265 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.1429, allocations: 2.615 MB / 0.6291 GB, free: 14.02 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.1442, allocations: 1.782 MB / 0.6308 GB, free: 12.23 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.1445, allocations: 308 kB / 0.6311 GB, free: 11.93 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.1474, allocations: 1.976 MB / 0.633 GB, free: 9.953 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.1479, allocations: 1.008 MB / 0.634 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007124/0.1486, allocations: 1.098 MB / 0.6351 GB, free: 7.84 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.153, allocations: 6.11 MB / 0.6411 GB, free: 1.711 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.153, allocations: 0 / 0.6411 GB, free: 1.711 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.153, allocations: 0 / 0.6411 GB, free: 1.711 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.153, allocations: 0 / 0.6411 GB, free: 1.711 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.003892/0.1569, allocations: 4.31 MB / 0.6453 GB, free: 13.32 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.157, allocations: 12.03 kB / 0.6453 GB, free: 13.31 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.1579, allocations: 0.5019 MB / 0.6458 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.1613, allocations: 3.28 MB / 0.649 GB, free: 9.457 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.1614, allocations: 148.1 kB / 0.6491 GB, free: 9.312 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.1615, allocations: 192.1 kB / 0.6493 GB, free: 9.125 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004937/0.1665, allocations: 4.453 MB / 0.6536 GB, free: 3.992 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.1665, allocations: 27.75 kB / 0.6537 GB, free: 3.965 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.1666, allocations: 92 kB / 0.6538 GB, free: 3.875 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.1667, allocations: 63.98 kB / 0.6538 GB, free: 3.812 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003963/0.1706, allocations: 2.884 MB / 0.6566 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009708/0.1803, allocations: 17.74 MB / 0.674 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/0.1839, allocations: 2.387 MB / 0.6763 GB, free: 12 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.185, allocations: 0.9476 MB / 0.6772 GB, free: 11 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.1852, allocations: 109.1 kB / 0.6773 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003113/0.1883, allocations: 2.296 MB / 0.6796 GB, free: 8.457 MB / 0.573 GB Notification: Performance of pre-optimization done (n=332): time 3.496e-06/0.1883, allocations: 0 / 0.6796 GB, free: 8.457 MB / 0.573 GB Notification: Performance of matching and sorting (n=333): time 0.01676/0.2051, allocations: 16.43 MB / 0.6956 GB, free: 7.797 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/0.2053, allocations: 0.7545 MB / 0.6963 GB, free: 6.875 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.2077, allocations: 2.762 MB / 0.699 GB, free: 4.102 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.2078, allocations: 53.7 kB / 0.6991 GB, free: 4.043 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007268/0.2086, allocations: 1.414 MB / 0.7005 GB, free: 2.613 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007058/0.2093, allocations: 1.088 MB / 0.7015 GB, free: 1.516 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006496/0.2099, allocations: 0.7259 MB / 0.7022 GB, free: 0.7812 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.21, allocations: 305.1 kB / 0.7025 GB, free: 492 kB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.2114, allocations: 1.249 MB / 0.7037 GB, free: 15.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.2133, allocations: 2.467 MB / 0.7062 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/0.217, allocations: 3.862 MB / 0.7099 GB, free: 7.766 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.217, allocations: 12 kB / 0.7099 GB, free: 7.754 MB / 0.6043 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.004829/0.2218, allocations: 4.354 MB / 0.7142 GB, free: 3.332 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.222, allocations: 154.8 kB / 0.7143 GB, free: 3.156 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003689/0.2257, allocations: 3.15 MB / 0.7174 GB, free: 15.95 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.2262, allocations: 181.5 kB / 0.7176 GB, free: 15.77 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.2276, allocations: 0.8774 MB / 0.7184 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.2316, allocations: 2.985 MB / 0.7214 GB, free: 11.77 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/0.2326, allocations: 167.5 kB / 0.7215 GB, free: 11.61 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.2328, allocations: 232.3 kB / 0.7217 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002118/0.2349, allocations: 1.84 MB / 0.7235 GB, free: 9.512 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001859/0.2368, allocations: 2.455 MB / 0.7259 GB, free: 6.504 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003566/0.2404, allocations: 3.869 MB / 0.7297 GB, free: 2.09 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.029e-05/0.2404, allocations: 8 kB / 0.7297 GB, free: 2.082 MB / 0.6199 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004778/0.2451, allocations: 4.322 MB / 0.7339 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/0.2452, allocations: 157.1 kB / 0.7341 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003866/0.2491, allocations: 3.126 MB / 0.7371 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.2494, allocations: 140.9 kB / 0.7373 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.2508, allocations: 0.8813 MB / 0.7381 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.2544, allocations: 2.44 MB / 0.7405 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2554, allocations: 163.6 kB / 0.7407 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.2556, allocations: 223.9 kB / 0.7409 GB, free: 6.395 MB / 0.6355 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.0008015/0.2564, allocations: 0.5389 MB / 0.7414 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/0.2568, allocations: 373.4 kB / 0.7418 GB, free: 5.457 MB / 0.6355 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.003952/0.2608, allocations: 3.696 MB / 0.7454 GB, free: 1.691 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1193057661876082] Failed to read output from testmodel.py, exit status != 0: 0.5774867814034224 0.5842127429999999 0.429843023 Calling exit ...