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.001792/0.001791, allocations: 99.39 kB / 16.27 MB, free: 5.961 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.001975/0.001975, allocations: 190.9 kB / 17.19 MB, free: 5.594 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8085/0.8085, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.88 kB / 0.4959 GB, free: 2.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3993, allocations: 78.86 MB / 0.5729 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07849/0.4778, allocations: 81.11 MB / 0.6521 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03083/0.5087, allocations: 18.92 MB / 0.6705 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0069/0.5157, allocations: 107.4 kB / 0.6706 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.52, allocations: 1.172 MB / 0.6718 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00913/0.5292, allocations: 2.781 MB / 0.6745 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007565/0.5368, allocations: 1.895 MB / 0.6764 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0112/0.548, allocations: 5.483 MB / 0.6817 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006684/0.5547, allocations: 2.621 MB / 0.6843 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008191/0.563, allocations: 2.324 MB / 0.6865 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004534/0.5675, allocations: 1.633 MB / 0.6881 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009893/0.5686, allocations: 304 kB / 0.6884 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00634/0.5749, allocations: 1.685 MB / 0.6901 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.5763, allocations: 0.6931 MB / 0.6907 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004132/0.5805, allocations: 1.442 MB / 0.6922 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.5927, allocations: 4.752 MB / 0.6968 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.5927, allocations: 8 kB / 0.6968 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5927, allocations: 0 / 0.6968 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001625/0.5929, allocations: 0 / 0.6968 GB, free: 6.539 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.009571/0.6025, allocations: 3.035 MB / 0.6998 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.6026, allocations: 16.56 kB / 0.6998 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008798/0.6034, allocations: 276.8 kB / 0.7 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.6061, allocations: 428.3 kB / 0.7005 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/0.6122, allocations: 2.024 MB / 0.7024 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.6124, allocations: 151.6 kB / 0.7026 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005649/0.613, allocations: 191.9 kB / 0.7028 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005995/0.619, allocations: 1.91 MB / 0.7046 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.544e-05/0.6191, allocations: 7.938 kB / 0.7046 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.6194, allocations: 75.98 kB / 0.7047 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.6195, allocations: 48 kB / 0.7047 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004875/0.6244, allocations: 1.442 MB / 0.7062 GB, free: 12.75 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.01611/0.6405, allocations: 8.141 MB / 0.7141 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.6431, allocations: 1.043 MB / 0.7151 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.6439, allocations: 378.3 kB / 0.7155 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.6451, allocations: 1.148 MB / 0.7166 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.6461, allocations: 434.9 kB / 0.717 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=67): time 3.767e-06/0.6461, allocations: 0 / 0.717 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.003113/0.6493, allocations: 1.118 MB / 0.7181 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6494, allocations: 145.1 kB / 0.7183 GB, free: 15.59 MB / 0.5606 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.0036/0.653, allocations: 1.783 MB / 0.72 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.6532, allocations: 45.7 kB / 0.72 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.6545, allocations: 1.099 MB / 0.7211 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.6549, allocations: 240.7 kB / 0.7213 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/0.6554, allocations: 210.5 kB / 0.7215 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.6556, allocations: 353.8 kB / 0.7219 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008713/0.6565, allocations: 369.8 kB / 0.7222 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.6578, allocations: 0.6907 MB / 0.7229 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.6598, allocations: 0.9973 MB / 0.7239 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.6598, allocations: 4 kB / 0.7239 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003212/0.663, allocations: 1.245 MB / 0.7251 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.6631, allocations: 8 kB / 0.7251 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.6631, allocations: 11.94 kB / 0.7251 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.6632, allocations: 12 kB / 0.7251 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/0.664, allocations: 228.2 kB / 0.7253 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/0.6641, allocations: 19.92 kB / 0.7254 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.6656, allocations: 158.6 kB / 0.7255 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.6658, allocations: 55.98 kB / 0.7256 GB, free: 7.75 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.001175/0.6669, allocations: 0.4986 MB / 0.7261 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/0.6676, allocations: 185.7 kB / 0.7262 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.6703, allocations: 1.047 MB / 0.7273 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.6703, allocations: 4 kB / 0.7273 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6703, allocations: 7.984 kB / 0.7273 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001782/0.6721, allocations: 0.863 MB / 0.7281 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006373/0.6785, allocations: 2.85 MB / 0.7309 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.6785, allocations: 0 / 0.7309 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.6792, allocations: 139.8 kB / 0.731 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.6792, allocations: 4 kB / 0.731 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/0.6793, allocations: 27.98 kB / 0.7311 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.6793, allocations: 4 kB / 0.7311 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6793, allocations: 4.188 kB / 0.7311 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.6829, allocations: 1.522 MB / 0.7326 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.6839, allocations: 378.5 kB / 0.7329 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/0.6844, allocations: 20 kB / 0.7329 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6855, allocations: 59.94 kB / 0.733 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.6857, allocations: 64.41 kB / 0.7331 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.6858, allocations: 44.03 kB / 0.7331 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002467/0.6883, allocations: 1.198 MB / 0.7343 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.485e-06/0.6883, allocations: 4 kB / 0.7343 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00232/0.6906, allocations: 0.6543 MB / 0.7349 GB, free: 13.98 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.006021/0.6966, allocations: 2.855 MB / 0.7377 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.6992, allocations: 1.001 MB / 0.7387 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6993, allocations: 8.125 kB / 0.7387 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.7002, allocations: 419 kB / 0.7391 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/0.7045, allocations: 0.8694 MB / 0.7399 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3158/1.02, allocations: 14.99 MB / 0.7546 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.022, allocations: 1.501 MB / 0.756 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001595/1.023, allocations: 360.3 kB / 0.7564 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.024, allocations: 0.9147 MB / 0.7573 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/1.024, allocations: 3.844 kB / 0.7573 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09124/1.116, allocations: 52.71 MB / 0.8087 GB, free: 115 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.37/10.49, allocations: 10.44 kB / 0.8088 GB, free: 115 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.csv --start-time 0 --stop-time 14365 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.746 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)