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.001253/0.001253, allocations: 102.9 kB / 16.27 MB, free: 5.973 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.001192/0.001192, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7998/0.7998, allocations: 126.7 MB / 417.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 0.4959 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3053, allocations: 78.86 MB / 0.5729 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07134/0.3767, allocations: 81.1 MB / 0.6521 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02777/0.4045, allocations: 18.92 MB / 0.6705 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.408, allocations: 107.4 kB / 0.6706 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.4112, allocations: 1.172 MB / 0.6718 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00731/0.4186, allocations: 2.782 MB / 0.6745 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004593/0.4232, allocations: 1.893 MB / 0.6764 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007035/0.4302, allocations: 5.49 MB / 0.6817 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003567/0.4338, allocations: 2.617 MB / 0.6843 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.4387, allocations: 2.321 MB / 0.6865 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.4412, allocations: 1.641 MB / 0.6881 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.4416, allocations: 300 kB / 0.6884 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.4451, allocations: 1.689 MB / 0.6901 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006801/0.4458, allocations: 0.6931 MB / 0.6907 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.4474, allocations: 1.446 MB / 0.6922 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006139/0.4536, allocations: 4.752 MB / 0.6968 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4536, allocations: 0 / 0.6968 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4536, allocations: 0 / 0.6968 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.512e-05/0.4537, allocations: 0 / 0.6968 GB, free: 6.555 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.005097/0.4588, allocations: 3.043 MB / 0.6998 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4588, allocations: 12.03 kB / 0.6998 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003932/0.4592, allocations: 272.8 kB / 0.7 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.4608, allocations: 424.3 kB / 0.7005 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.4642, allocations: 2.031 MB / 0.7024 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.4643, allocations: 143.6 kB / 0.7026 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.4646, allocations: 191.9 kB / 0.7028 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.4679, allocations: 1.914 MB / 0.7046 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.468, allocations: 4 kB / 0.7046 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.4681, allocations: 76 kB / 0.7047 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.4682, allocations: 44 kB / 0.7047 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.4711, allocations: 1.45 MB / 0.7062 GB, free: 12.77 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.01074/0.4819, allocations: 8.134 MB / 0.7141 GB, free: 4.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.4842, allocations: 1.053 MB / 0.7151 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.485, allocations: 370.3 kB / 0.7155 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009464/0.4859, allocations: 1.152 MB / 0.7166 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009289/0.4869, allocations: 430.9 kB / 0.717 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=67): time 2.765e-06/0.4869, allocations: 4 kB / 0.717 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.00271/0.4896, allocations: 1.118 MB / 0.7181 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.4897, allocations: 141.1 kB / 0.7182 GB, free: 15.6 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.002478/0.4922, allocations: 1.783 MB / 0.72 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.677e-05/0.4923, allocations: 49.69 kB / 0.72 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4933, allocations: 1.095 MB / 0.7211 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.4936, allocations: 244.6 kB / 0.7213 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.4939, allocations: 210.5 kB / 0.7215 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4941, allocations: 357.8 kB / 0.7219 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/0.4949, allocations: 361.8 kB / 0.7222 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.496, allocations: 0.6907 MB / 0.7229 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.4978, allocations: 1.001 MB / 0.7239 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4978, allocations: 4 kB / 0.7239 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002535/0.5004, allocations: 1.249 MB / 0.7251 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.5004, allocations: 8 kB / 0.7251 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.5004, allocations: 8 kB / 0.7251 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.5004, allocations: 12 kB / 0.7251 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.5013, allocations: 223.7 kB / 0.7253 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.5013, allocations: 19.92 kB / 0.7254 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.5024, allocations: 159.9 kB / 0.7255 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.5025, allocations: 47.98 kB / 0.7256 GB, free: 7.777 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.0008586/0.5034, allocations: 0.5025 MB / 0.726 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.5037, allocations: 189.7 kB / 0.7262 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.5059, allocations: 1.045 MB / 0.7273 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.506, allocations: 8 kB / 0.7273 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.506, allocations: 0 / 0.7273 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/0.5077, allocations: 0.8669 MB / 0.7281 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004868/0.5126, allocations: 2.85 MB / 0.7309 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.5126, allocations: 4 kB / 0.7309 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.5132, allocations: 144 kB / 0.731 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.5132, allocations: 4 kB / 0.731 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.5133, allocations: 27.98 kB / 0.7311 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.5133, allocations: 4 kB / 0.7311 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5133, allocations: 0 / 0.7311 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.5163, allocations: 1.53 MB / 0.7326 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/0.5169, allocations: 378.5 kB / 0.7329 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.5172, allocations: 28 kB / 0.7329 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008681/0.5181, allocations: 55.94 kB / 0.733 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.5182, allocations: 64.41 kB / 0.7331 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.5183, allocations: 39.91 kB / 0.7331 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001755/0.52, allocations: 1.202 MB / 0.7343 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5201, allocations: 0 / 0.7343 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001649/0.5217, allocations: 0.6504 MB / 0.7349 GB, free: 13.99 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.005568/0.5273, allocations: 2.85 MB / 0.7377 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002442/0.5297, allocations: 0.9995 MB / 0.7387 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.5298, allocations: 4 kB / 0.7387 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.5307, allocations: 424.6 kB / 0.7391 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/0.5346, allocations: 0.8681 MB / 0.7399 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2747/0.8093, allocations: 15 MB / 0.7546 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.8103, allocations: 1.5 MB / 0.756 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001408/0.8118, allocations: 362 kB / 0.7564 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009637/0.8127, allocations: 0.917 MB / 0.7573 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.8127, allocations: 1.312 kB / 0.7573 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.767/2.579, allocations: 52.71 MB / 0.8087 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/17.27, allocations: 14.58 kB / 0.8088 GB, free: 116.7 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)