Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001492, allocations: 195.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 126.7 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 59.91 kB / 0.4954 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3304, allocations: 78.86 MB / 0.5724 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.06925/0.3997, allocations: 80.34 MB / 0.6508 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02744/0.4272, allocations: 18.61 MB / 0.669 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004703/0.432, allocations: 95.44 kB / 0.6691 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.4352, allocations: 1.038 MB / 0.6701 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006613/0.4418, allocations: 2.573 MB / 0.6726 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.446, allocations: 1.733 MB / 0.6743 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006749/0.4527, allocations: 5.517 MB / 0.6797 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/0.4562, allocations: 2.589 MB / 0.6822 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/0.4614, allocations: 2.333 MB / 0.6845 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.4637, allocations: 1.696 MB / 0.6862 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.4641, allocations: 304 kB / 0.6865 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.4675, allocations: 1.716 MB / 0.6881 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000647/0.4682, allocations: 0.6891 MB / 0.6888 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.4697, allocations: 1.442 MB / 0.6902 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.4756, allocations: 4.775 MB / 0.6949 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4756, allocations: 0 / 0.6949 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4756, allocations: 0 / 0.6949 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.764e-05/0.4756, allocations: 0 / 0.6949 GB, free: 8.215 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.004877/0.4805, allocations: 3.035 MB / 0.6978 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4806, allocations: 12.03 kB / 0.6978 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003965/0.481, allocations: 284.8 kB / 0.6981 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.4824, allocations: 424.3 kB / 0.6985 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/0.4857, allocations: 2.061 MB / 0.7005 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.4858, allocations: 147.6 kB / 0.7007 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.4861, allocations: 188 kB / 0.7009 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/0.4894, allocations: 1.922 MB / 0.7027 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.4895, allocations: 0 / 0.7027 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.4896, allocations: 72 kB / 0.7028 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.4897, allocations: 51.94 kB / 0.7029 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/0.4925, allocations: 1.442 MB / 0.7043 GB, free: 14.39 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.5026, allocations: 8.087 MB / 0.7122 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.5049, allocations: 1.039 MB / 0.7132 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/0.5056, allocations: 370.3 kB / 0.7135 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/0.5065, allocations: 1.15 MB / 0.7146 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009312/0.5075, allocations: 438.9 kB / 0.7151 GB, free: 2.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=67): time 2.825e-06/0.5075, allocations: 0 / 0.7151 GB, free: 2.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.002516/0.51, allocations: 1.121 MB / 0.7162 GB, free: 1.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.5101, allocations: 137.1 kB / 0.7163 GB, free: 1.293 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.5124, allocations: 1.769 MB / 0.718 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.226e-05/0.5125, allocations: 49.7 kB / 0.7181 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009499/0.5135, allocations: 1.088 MB / 0.7191 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.5137, allocations: 240.7 kB / 0.7194 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.5141, allocations: 218.4 kB / 0.7196 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5142, allocations: 345.9 kB / 0.7199 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007405/0.515, allocations: 365.7 kB / 0.7202 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.5161, allocations: 0.6985 MB / 0.7209 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.5178, allocations: 1.005 MB / 0.7219 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5178, allocations: 0 / 0.7219 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002343/0.5201, allocations: 1.245 MB / 0.7231 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5202, allocations: 8 kB / 0.7231 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.5202, allocations: 20.02 kB / 0.7232 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.5202, allocations: 12 kB / 0.7232 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.521, allocations: 223.6 kB / 0.7234 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.521, allocations: 19.94 kB / 0.7234 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.5223, allocations: 206.6 kB / 0.7236 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/0.5224, allocations: 47.98 kB / 0.7236 GB, free: 9.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008059/0.5232, allocations: 0.4975 MB / 0.7241 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.5235, allocations: 189.7 kB / 0.7243 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.5256, allocations: 1.037 MB / 0.7253 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.5256, allocations: 12 kB / 0.7253 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5256, allocations: 3.984 kB / 0.7253 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001558/0.5272, allocations: 0.8553 MB / 0.7262 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/0.5316, allocations: 2.842 MB / 0.7289 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5316, allocations: 4.188 kB / 0.7289 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.5322, allocations: 143.8 kB / 0.7291 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.5323, allocations: 7.984 kB / 0.7291 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.5323, allocations: 23.98 kB / 0.7291 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.5323, allocations: 4 kB / 0.7291 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5324, allocations: 4 kB / 0.7291 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.535, allocations: 1.526 MB / 0.7306 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/0.5356, allocations: 366.6 kB / 0.731 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.5358, allocations: 23.98 kB / 0.731 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008872/0.5367, allocations: 107.7 kB / 0.7311 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.5369, allocations: 56.48 kB / 0.7311 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.5369, allocations: 39.91 kB / 0.7312 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001613/0.5386, allocations: 1.186 MB / 0.7323 GB, free: 320 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5386, allocations: 0 / 0.7323 GB, free: 320 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00159/0.5402, allocations: 0.6503 MB / 0.733 GB, free: 15.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00521/0.5454, allocations: 2.838 MB / 0.7357 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.5477, allocations: 1.015 MB / 0.7367 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5477, allocations: 4 kB / 0.7367 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.5485, allocations: 420.6 kB / 0.7371 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.552, allocations: 0.8598 MB / 0.738 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2714/0.8234, allocations: 15.74 MB / 0.7534 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.8253, allocations: 1.505 MB / 0.7548 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001939/0.8273, allocations: 363 kB / 0.7552 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.8285, allocations: 0.9117 MB / 0.7561 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/0.8285, allocations: 0.5938 kB / 0.7561 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.908/2.736, allocations: 52.05 MB / 0.8069 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/2.737, allocations: 279.4 kB / 0.8072 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/5.922, allocations: 0 / 0.8072 GB, free: 116.4 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness_fmu --startTime=0 --stopTime=14365 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)