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.01786/0.01786, allocations: 1.758 MB / 20.59 MB, free: 1.277 MB / 14.72 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.001863/0.001863, allocations: 111.4 kB / 24.19 MB, free: 2.652 MB / 14.72 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.002757/0.002757, allocations: 211.8 kB / 27.92 MB, free: 4 MB / 19.63 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 1.516/1.516, allocations: 230.6 MB / 262.1 MB, free: 6.207 MB / 206.1 MB " [Timeout remaining time 178] 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 1.055/1.055, allocations: 130.7 MB / 449.7 MB, free: 6.586 MB / 350.1 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.3.1 (/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: SMArtInt 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: 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: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.02982/0.02982, allocations: 20.78 MB / 0.6357 GB, free: 5.164 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1973, allocations: 81.9 MB / 0.7157 GB, free: 3.164 MB / 0.5294 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.496/0.6933, allocations: 48.71 MB / 0.7633 GB, free: 18.36 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02753/0.7208, allocations: 19.56 MB / 0.7824 GB, free: 4.453 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003867/0.7247, allocations: 83.34 kB / 0.7825 GB, free: 4.414 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004919/0.7296, allocations: 1.666 MB / 0.7841 GB, free: 3.684 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.7355, allocations: 1.921 MB / 0.786 GB, free: 2.582 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006889/0.7424, allocations: 2.526 MB / 0.7884 GB, free: 1.336 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00865/0.7511, allocations: 4.524 MB / 0.7929 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.7544, allocations: 1.319 MB / 0.7941 GB, free: 13.84 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004805/0.7592, allocations: 1.937 MB / 0.796 GB, free: 12.74 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004678/0.7639, allocations: 2.18 MB / 0.7982 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.7653, allocations: 307.9 kB / 0.7985 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007527/0.7729, allocations: 2.688 MB / 0.8011 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002296/0.7752, allocations: 0.997 MB / 0.8021 GB, free: 9.18 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004561/0.7797, allocations: 1.793 MB / 0.8038 GB, free: 7.855 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.793, allocations: 6.226 MB / 0.8099 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.793, allocations: 0 / 0.8099 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.803e-06/0.793, allocations: 2.656 kB / 0.8099 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001604/0.7931, allocations: 0 / 0.8099 GB, free: 2.703 MB / 0.5763 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.01014/0.8033, allocations: 4.344 MB / 0.8141 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8033, allocations: 12.03 kB / 0.8141 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007128/0.804, allocations: 337.5 kB / 0.8145 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.8059, allocations: 0.5058 MB / 0.815 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007456/0.8134, allocations: 3.291 MB / 0.8182 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.8136, allocations: 147.7 kB / 0.8183 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005548/0.8142, allocations: 190.6 kB / 0.8185 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.8245, allocations: 3.927 MB / 0.8223 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.296e-05/0.8246, allocations: 23.75 kB / 0.8224 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.8249, allocations: 99.98 kB / 0.8225 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/0.825, allocations: 60 kB / 0.8225 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00809/0.8331, allocations: 2.773 MB / 0.8252 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02189/0.855, allocations: 18.99 MB / 0.8438 GB, free: 14.73 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007162/0.8622, allocations: 2.289 MB / 0.846 GB, free: 12.37 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.864, allocations: 0.817 MB / 0.8468 GB, free: 11.52 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.8644, allocations: 115.8 kB / 0.8469 GB, free: 11.41 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005712/0.8701, allocations: 2.17 MB / 0.849 GB, free: 9.141 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=332): time 4.238e-06/0.8701, allocations: 2.688 kB / 0.849 GB, free: 9.141 MB / 0.6232 GB Notification: Performance of matching and sorting (n=333): time 0.02989/0.9, allocations: 16.16 MB / 0.8648 GB, free: 8.82 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004418/0.9004, allocations: 0.7535 MB / 0.8655 GB, free: 7.895 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/0.9046, allocations: 2.786 MB / 0.8683 GB, free: 5.105 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004243/0.905, allocations: 57.7 kB / 0.8683 GB, free: 5.043 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.9063, allocations: 1.402 MB / 0.8697 GB, free: 3.629 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.9075, allocations: 1.111 MB / 0.8708 GB, free: 2.508 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.9085, allocations: 0.7255 MB / 0.8715 GB, free: 1.777 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9087, allocations: 309.1 kB / 0.8718 GB, free: 1.473 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/0.911, allocations: 1.122 MB / 0.8729 GB, free: 356 kB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/0.9143, allocations: 2.24 MB / 0.8751 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.9203, allocations: 3.837 MB / 0.8788 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.9203, allocations: 17.41 kB / 0.8788 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.008766/0.9291, allocations: 4.213 MB / 0.8829 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.9292, allocations: 149.4 kB / 0.8831 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006329/0.9355, allocations: 2.997 MB / 0.886 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008514/0.9364, allocations: 164.3 kB / 0.8862 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.9393, allocations: 0.8878 MB / 0.887 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008458/0.9477, allocations: 3.005 MB / 0.89 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.9503, allocations: 170.1 kB / 0.8901 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004573/0.9507, allocations: 235.9 kB / 0.8903 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003649/0.9544, allocations: 1.719 MB / 0.892 GB, free: 11.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003312/0.9577, allocations: 2.229 MB / 0.8942 GB, free: 8.949 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006245/0.9639, allocations: 3.834 MB / 0.8979 GB, free: 4.656 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.276e-05/0.9639, allocations: 18.59 kB / 0.898 GB, free: 4.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.009237/0.9732, allocations: 4.175 MB / 0.902 GB, free: 468 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.9733, allocations: 153.4 kB / 0.9022 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006444/0.9797, allocations: 2.976 MB / 0.9051 GB, free: 13.29 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000696/0.9804, allocations: 142 kB / 0.9052 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.9835, allocations: 0.8813 MB / 0.9061 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008083/0.9916, allocations: 2.468 MB / 0.9085 GB, free: 9.754 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.9942, allocations: 163.6 kB / 0.9087 GB, free: 9.594 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/0.9947, allocations: 227.9 kB / 0.9089 GB, free: 9.371 MB / 0.6857 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.001036/0.9957, allocations: 0.5363 MB / 0.9094 GB, free: 8.805 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009068/0.9966, allocations: 377.5 kB / 0.9098 GB, free: 8.434 MB / 0.6857 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.00735/1.004, allocations: 3.668 MB / 0.9133 GB, free: 4.949 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.898543645860627] Failed to read output from testmodel.py, exit status != 0: 1.194346098927781 1.211809472 0.41532769599999997 Calling exit ...