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.005943/0.005943, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000718/0.000718, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0008476/0.0008476, allocations: 164.1 kB / 27.85 MB, free: 5.496 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.8566/0.8566, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7309/0.7309, allocations: 102.5 MB / 367.9 MB, free: 1.449 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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.5362 GB, free: 40.1 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.715e-05, allocations: 5.234 kB / 0.5362 GB, free: 40.09 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.1158/0.1158, allocations: 60.6 MB / 0.5954 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.1349, allocations: 18.33 MB / 0.6133 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1362, allocations: 83.38 kB / 0.6133 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.1387, allocations: 1.624 MB / 0.6149 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.141, allocations: 1.964 MB / 0.6168 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.1448, allocations: 2.574 MB / 0.6194 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003764/0.1486, allocations: 4.642 MB / 0.6239 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.1502, allocations: 1.432 MB / 0.6253 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.1524, allocations: 2.603 MB / 0.6278 GB, free: 14.52 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.1539, allocations: 1.79 MB / 0.6296 GB, free: 12.72 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.1541, allocations: 308 kB / 0.6299 GB, free: 12.42 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.1566, allocations: 1.992 MB / 0.6318 GB, free: 10.43 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005147/0.1571, allocations: 1.008 MB / 0.6328 GB, free: 9.414 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007062/0.1578, allocations: 1.095 MB / 0.6339 GB, free: 8.316 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.1619, allocations: 6.102 MB / 0.6398 GB, free: 2.195 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1619, allocations: 0 / 0.6398 GB, free: 2.195 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1619, allocations: 0 / 0.6398 GB, free: 2.195 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.1619, allocations: 0 / 0.6398 GB, free: 2.195 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.004148/0.1661, allocations: 4.322 MB / 0.6441 GB, free: 13.79 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1661, allocations: 8.031 kB / 0.6441 GB, free: 13.79 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002607/0.1664, allocations: 330.9 kB / 0.6444 GB, free: 13.45 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.1671, allocations: 0.5019 MB / 0.6449 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.1706, allocations: 3.277 MB / 0.6481 GB, free: 9.605 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.1706, allocations: 148.1 kB / 0.6482 GB, free: 9.461 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.1708, allocations: 191.9 kB / 0.6484 GB, free: 9.273 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004936/0.1758, allocations: 4.456 MB / 0.6527 GB, free: 4.137 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.1758, allocations: 27.75 kB / 0.6528 GB, free: 4.109 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.1759, allocations: 92 kB / 0.6529 GB, free: 4.02 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.903e-05/0.176, allocations: 60 kB / 0.6529 GB, free: 3.961 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/0.1799, allocations: 2.884 MB / 0.6557 GB, free: 1.043 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.1904, allocations: 18.02 MB / 0.6733 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.1942, allocations: 2.391 MB / 0.6757 GB, free: 11.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.1952, allocations: 0.9509 MB / 0.6766 GB, free: 10.85 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.1955, allocations: 101.1 kB / 0.6767 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003365/0.1988, allocations: 2.292 MB / 0.6789 GB, free: 8.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=332): time 3.927e-06/0.1988, allocations: 0 / 0.6789 GB, free: 8.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=333): time 0.01854/0.2174, allocations: 16.44 MB / 0.695 GB, free: 7.648 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000296/0.2177, allocations: 0.747 MB / 0.6957 GB, free: 6.73 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/0.2208, allocations: 2.848 MB / 0.6985 GB, free: 3.879 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.2209, allocations: 53.7 kB / 0.6985 GB, free: 3.82 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.222, allocations: 1.395 MB / 0.6999 GB, free: 2.41 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007477/0.2228, allocations: 1.092 MB / 0.701 GB, free: 1.309 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007477/0.2235, allocations: 0.7181 MB / 0.7017 GB, free: 0.582 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2236, allocations: 305.6 kB / 0.702 GB, free: 288 kB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.2251, allocations: 1.256 MB / 0.7032 GB, free: 14.99 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.2275, allocations: 2.467 MB / 0.7056 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/0.2313, allocations: 3.858 MB / 0.7094 GB, free: 7.562 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.2313, allocations: 12 kB / 0.7094 GB, free: 7.551 MB / 0.6043 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.005802/0.2371, allocations: 4.365 MB / 0.7136 GB, free: 3.117 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.412e-05/0.2372, allocations: 158.8 kB / 0.7138 GB, free: 2.938 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003726/0.2409, allocations: 3.155 MB / 0.7169 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004896/0.2414, allocations: 173.6 kB / 0.717 GB, free: 15.55 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.2428, allocations: 0.8737 MB / 0.7179 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.2473, allocations: 3.008 MB / 0.7208 GB, free: 11.53 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.2486, allocations: 175.6 kB / 0.721 GB, free: 11.36 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/0.2488, allocations: 227.9 kB / 0.7212 GB, free: 11.13 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002464/0.2513, allocations: 1.844 MB / 0.723 GB, free: 9.258 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002108/0.2534, allocations: 2.459 MB / 0.7254 GB, free: 6.246 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003471/0.2569, allocations: 3.861 MB / 0.7292 GB, free: 1.84 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.066e-05/0.2569, allocations: 8 kB / 0.7292 GB, free: 1.832 MB / 0.6199 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.005157/0.262, allocations: 4.322 MB / 0.7334 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/0.2621, allocations: 151 kB / 0.7336 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003508/0.2656, allocations: 3.138 MB / 0.7366 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.266, allocations: 136.8 kB / 0.7368 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.2674, allocations: 0.8852 MB / 0.7376 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.2711, allocations: 2.459 MB / 0.74 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.2724, allocations: 163.7 kB / 0.7402 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.2726, allocations: 227.9 kB / 0.7404 GB, free: 6.102 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.0007902/0.2734, allocations: 0.5387 MB / 0.7409 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.2738, allocations: 373.5 kB / 0.7413 GB, free: 5.164 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.003975/0.2778, allocations: 3.701 MB / 0.7449 GB, free: 1.395 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.285640207119286] Failed to read output from testmodel.py, exit status != 0: 0.6467723520472646 0.654203224 0.490867878 Calling exit ...