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.005839/0.005839, 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.0006768/0.0006768, 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.0007477/0.0007477, allocations: 159.2 kB / 27.85 MB, free: 5.5 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.8668/0.8668, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.7457/0.7457, allocations: 102.5 MB / 367.9 MB, free: 1.492 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.933e-06/1.933e-06, allocations: 0 / 0.5362 GB, free: 40.17 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.358e-05, allocations: 5.125 kB / 0.5362 GB, free: 40.17 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.1089/0.1089, allocations: 60.6 MB / 0.5954 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.1283, allocations: 18.34 MB / 0.6133 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.1298, allocations: 83.38 kB / 0.6133 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.1324, allocations: 1.624 MB / 0.6149 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.1346, allocations: 1.964 MB / 0.6168 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.1384, allocations: 2.578 MB / 0.6194 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002899/0.1413, allocations: 4.654 MB / 0.6239 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.1425, allocations: 1.428 MB / 0.6253 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.1445, allocations: 2.607 MB / 0.6279 GB, free: 14.5 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.146, allocations: 1.785 MB / 0.6296 GB, free: 12.72 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.1462, allocations: 312 kB / 0.6299 GB, free: 12.41 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.15, allocations: 1.98 MB / 0.6318 GB, free: 10.43 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.1506, allocations: 1.004 MB / 0.6328 GB, free: 9.422 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008181/0.1515, allocations: 1.098 MB / 0.6339 GB, free: 8.32 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.1564, allocations: 6.098 MB / 0.6398 GB, free: 2.203 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1564, allocations: 4 kB / 0.6398 GB, free: 2.199 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1564, allocations: 0 / 0.6398 GB, free: 2.199 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.1564, allocations: 0 / 0.6398 GB, free: 2.199 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.004443/0.1608, allocations: 4.31 MB / 0.644 GB, free: 13.81 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.1609, allocations: 12.03 kB / 0.6441 GB, free: 13.8 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002891/0.1612, allocations: 334.9 kB / 0.6444 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007664/0.162, allocations: 0.5019 MB / 0.6449 GB, free: 12.96 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.1657, allocations: 3.272 MB / 0.6481 GB, free: 9.613 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/0.1658, allocations: 144.1 kB / 0.6482 GB, free: 9.473 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.166, allocations: 191.9 kB / 0.6484 GB, free: 9.285 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/0.171, allocations: 4.453 MB / 0.6527 GB, free: 4.152 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/0.1711, allocations: 31.75 kB / 0.6528 GB, free: 4.121 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.1712, allocations: 95.98 kB / 0.6529 GB, free: 4.027 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.1713, allocations: 67.94 kB / 0.6529 GB, free: 3.961 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.1753, allocations: 2.877 MB / 0.6557 GB, free: 1.051 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009821/0.1851, allocations: 18.02 MB / 0.6733 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.1886, allocations: 2.383 MB / 0.6757 GB, free: 11.87 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009604/0.1895, allocations: 0.9508 MB / 0.6766 GB, free: 10.86 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.1898, allocations: 105.1 kB / 0.6767 GB, free: 10.76 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002957/0.1927, allocations: 2.3 MB / 0.6789 GB, free: 8.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=332): time 3.307e-06/0.1927, allocations: 4 kB / 0.6789 GB, free: 8.316 MB / 0.573 GB Notification: Performance of matching and sorting (n=333): time 0.01641/0.2091, allocations: 16.42 MB / 0.695 GB, free: 7.664 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002554/0.2094, allocations: 0.7628 MB / 0.6957 GB, free: 6.73 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.2118, allocations: 2.848 MB / 0.6985 GB, free: 3.879 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.2119, allocations: 53.7 kB / 0.6985 GB, free: 3.82 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007225/0.2127, allocations: 1.395 MB / 0.6999 GB, free: 2.41 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.2132, allocations: 1.096 MB / 0.701 GB, free: 1.305 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000896/0.2141, allocations: 0.7142 MB / 0.7017 GB, free: 0.582 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.2142, allocations: 305.1 kB / 0.702 GB, free: 288 kB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.2156, allocations: 1.25 MB / 0.7032 GB, free: 15 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.2175, allocations: 2.47 MB / 0.7056 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.2215, allocations: 3.858 MB / 0.7094 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.2216, allocations: 8 kB / 0.7094 GB, free: 7.559 MB / 0.6043 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.00504/0.2266, allocations: 4.369 MB / 0.7136 GB, free: 3.121 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-05/0.2267, allocations: 150.8 kB / 0.7138 GB, free: 2.949 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003973/0.2307, allocations: 3.171 MB / 0.7169 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.2311, allocations: 165.6 kB / 0.717 GB, free: 15.55 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.2325, allocations: 0.8774 MB / 0.7179 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.2364, allocations: 3.004 MB / 0.7208 GB, free: 11.53 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.2374, allocations: 167.5 kB / 0.721 GB, free: 11.37 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/0.2379, allocations: 235.9 kB / 0.7212 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00221/0.2401, allocations: 1.84 MB / 0.723 GB, free: 9.266 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001908/0.242, allocations: 2.463 MB / 0.7254 GB, free: 6.25 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003633/0.2457, allocations: 3.854 MB / 0.7292 GB, free: 1.852 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-05/0.2457, allocations: 12 kB / 0.7292 GB, free: 1.84 MB / 0.6199 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004728/0.2504, allocations: 4.333 MB / 0.7334 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/0.2505, allocations: 154.8 kB / 0.7336 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003647/0.2541, allocations: 3.115 MB / 0.7366 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.2544, allocations: 140.8 kB / 0.7367 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.2558, allocations: 0.8852 MB / 0.7376 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.2593, allocations: 2.463 MB / 0.74 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.2603, allocations: 155.6 kB / 0.7402 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.2605, allocations: 227.9 kB / 0.7404 GB, free: 6.117 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.0006775/0.2612, allocations: 0.5466 MB / 0.7409 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005563/0.2618, allocations: 381.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.00383/0.2656, allocations: 3.693 MB / 0.7449 GB, free: 1.402 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3408208563923836] Failed to read output from testmodel.py, exit status != 0: 0.6320242034271359 0.6385223440000001 0.480761278 Calling exit ...