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.01741/0.01741, allocations: 2.336 MB / 21.18 MB, free: 3.551 MB / 13.93 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.0008082/0.0008082, allocations: 116.9 kB / 24.89 MB, free: 252 kB / 13.93 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.0009734/0.0009734, allocations: 221.4 kB / 28.73 MB, free: 1.059 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.9585/0.9585, allocations: 230.6 MB / 263 MB, free: 6.777 MB / 202.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.7373/0.7373, allocations: 130.7 MB / 450.7 MB, free: 9.871 MB / 346.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03957/0.03957, allocations: 29.94 MB / 0.6466 GB, free: 27.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1827, allocations: 82.05 MB / 0.7267 GB, free: 11.8 MB / 0.5418 GB 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.1068/0.2895, allocations: 46.99 MB / 0.7726 GB, free: 12.72 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.3122, allocations: 18.63 MB / 0.7908 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.3148, allocations: 79.44 kB / 0.7909 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.3182, allocations: 1.613 MB / 0.7925 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.3223, allocations: 1.911 MB / 0.7943 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.3268, allocations: 2.533 MB / 0.7968 GB, free: 3.879 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.005498/0.3323, allocations: 4.515 MB / 0.8012 GB, free: 15.35 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.3342, allocations: 1.428 MB / 0.8026 GB, free: 13.87 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.3367, allocations: 1.938 MB / 0.8045 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.3388, allocations: 2.039 MB / 0.8065 GB, free: 9.879 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.3391, allocations: 311.9 kB / 0.8068 GB, free: 9.574 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.3435, allocations: 1.969 MB / 0.8087 GB, free: 7.602 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0008032/0.3443, allocations: 0.9846 MB / 0.8097 GB, free: 6.613 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.3458, allocations: 1.383 MB / 0.811 GB, free: 5.223 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.009686/0.3555, allocations: 6.079 MB / 0.817 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3555, allocations: 8 kB / 0.817 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3555, allocations: 0 / 0.817 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.345e-05/0.3556, allocations: 0 / 0.817 GB, free: 15.11 MB / 0.6355 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.005434/0.361, allocations: 4.353 MB / 0.8212 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.3611, allocations: 12.03 kB / 0.8212 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005147/0.3616, allocations: 326.9 kB / 0.8215 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.3625, allocations: 0.5097 MB / 0.822 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.3664, allocations: 3.286 MB / 0.8252 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.573e-05/0.3665, allocations: 143.7 kB / 0.8254 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.3666, allocations: 192 kB / 0.8256 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005585/0.3722, allocations: 4.453 MB / 0.8299 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/0.3723, allocations: 27.75 kB / 0.8299 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.3724, allocations: 92 kB / 0.83 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.3724, allocations: 71.98 kB / 0.8301 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2269/0.5994, allocations: 2.872 MB / 0.8329 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008792/0.6082, allocations: 18.06 MB / 0.8505 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003931/0.6121, allocations: 2.397 MB / 0.8529 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.6131, allocations: 0.9375 MB / 0.8538 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.6134, allocations: 105.9 kB / 0.8539 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003285/0.6166, allocations: 2.297 MB / 0.8561 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=332): time 3.897e-06/0.6166, allocations: 0 / 0.8561 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=333): time 0.01697/0.6336, allocations: 16.44 MB / 0.8722 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.6337, allocations: 0.7488 MB / 0.8729 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.6366, allocations: 2.849 MB / 0.8757 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.6369, allocations: 60.3 kB / 0.8758 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005963/0.6374, allocations: 1.404 MB / 0.8771 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.638, allocations: 1.108 MB / 0.8782 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007053/0.6387, allocations: 0.7304 MB / 0.8789 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.006e-05/0.6387, allocations: 310.7 kB / 0.8792 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.6401, allocations: 1.248 MB / 0.8804 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.6419, allocations: 2.467 MB / 0.8829 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/0.6452, allocations: 3.851 MB / 0.8866 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.6452, allocations: 9.344 kB / 0.8866 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.005142/0.6504, allocations: 4.374 MB / 0.8909 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/0.6504, allocations: 152.4 kB / 0.891 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003348/0.6538, allocations: 3.155 MB / 0.8941 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/0.6542, allocations: 169.2 kB / 0.8943 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.6556, allocations: 0.8832 MB / 0.8951 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.659, allocations: 3.003 MB / 0.8981 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.6603, allocations: 164.2 kB / 0.8982 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.6605, allocations: 231.9 kB / 0.8985 GB, free: 123 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002034/0.6625, allocations: 1.84 MB / 0.9003 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001499/0.664, allocations: 2.459 MB / 0.9027 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002813/0.6668, allocations: 3.859 MB / 0.9064 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.879e-06/0.6669, allocations: 12 kB / 0.9064 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004457/0.6713, allocations: 4.329 MB / 0.9107 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.6714, allocations: 154.8 kB / 0.9108 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0031/0.6745, allocations: 3.129 MB / 0.9139 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.6748, allocations: 143.5 kB / 0.914 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.676, allocations: 0.8813 MB / 0.9149 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.6792, allocations: 2.455 MB / 0.9173 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6804, allocations: 154.7 kB / 0.9174 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.6806, allocations: 233.4 kB / 0.9176 GB, free: 102.2 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.0006593/0.6812, allocations: 0.5367 MB / 0.9182 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.6816, allocations: 385.4 kB / 0.9185 GB, free: 101.2 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.00334/0.6849, allocations: 3.701 MB / 0.9221 GB, free: 97.8 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.607605011202395]