Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00181/0.00181, allocations: 197.4 kB / 16.26 MB, free: 6.629 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002807/0.002807, allocations: 282.8 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5069 GB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 102 kB / 0.6059 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1881, allocations: 89.14 MB / 0.693 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.4015/0.5897, allocations: 80.21 MB / 0.7713 GB, free: 24.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.615, allocations: 18.63 MB / 0.7895 GB, free: 22.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005162/0.6202, allocations: 95.09 kB / 0.7896 GB, free: 22.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.6241, allocations: 1.018 MB / 0.7906 GB, free: 22.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008806/0.6329, allocations: 2.592 MB / 0.7931 GB, free: 21.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005564/0.6385, allocations: 1.731 MB / 0.7948 GB, free: 20.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008322/0.6468, allocations: 5.522 MB / 0.8002 GB, free: 17.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004151/0.651, allocations: 2.601 MB / 0.8027 GB, free: 16.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005943/0.657, allocations: 2.15 MB / 0.8048 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003746/0.6608, allocations: 1.709 MB / 0.8065 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007508/0.6615, allocations: 301.2 kB / 0.8068 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.6667, allocations: 1.71 MB / 0.8085 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000769/0.6675, allocations: 0.6907 MB / 0.8091 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/0.67, allocations: 1.442 MB / 0.8106 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007909/0.6779, allocations: 4.768 MB / 0.8152 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.678, allocations: 0 / 0.8152 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.678, allocations: 0 / 0.8152 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001028/0.6781, allocations: 5.25 kB / 0.8152 GB, free: 10.13 MB / 0.545 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.006951/0.6851, allocations: 3.032 MB / 0.8182 GB, free: 7.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6851, allocations: 9 kB / 0.8182 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.6871, allocations: 427.4 kB / 0.8186 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/0.6912, allocations: 2.049 MB / 0.8206 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.6913, allocations: 144.8 kB / 0.8207 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.6916, allocations: 189.5 kB / 0.8209 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.6953, allocations: 1.905 MB / 0.8228 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/0.6954, allocations: 0 / 0.8228 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.6955, allocations: 77.64 kB / 0.8228 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/0.6956, allocations: 52.22 kB / 0.8229 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.6983, allocations: 1.428 MB / 0.8243 GB, free: 4.035 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.01129/0.7096, allocations: 8.058 MB / 0.8322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.7119, allocations: 1.051 MB / 0.8332 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.7126, allocations: 364.6 kB / 0.8335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.7137, allocations: 1.157 MB / 0.8347 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009635/0.7146, allocations: 435.7 kB / 0.8351 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=67): time 3.035e-06/0.7147, allocations: 3.938 kB / 0.8351 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.002875/0.7175, allocations: 1.124 MB / 0.8362 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.7177, allocations: 136.2 kB / 0.8363 GB, free: 10.18 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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.002784/0.7205, allocations: 1.767 MB / 0.838 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.7206, allocations: 46.64 kB / 0.8381 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.7218, allocations: 1.084 MB / 0.8391 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.7221, allocations: 246.6 kB / 0.8394 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.7224, allocations: 222.3 kB / 0.8396 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7226, allocations: 344.2 kB / 0.8399 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/0.7234, allocations: 358.8 kB / 0.8403 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.7245, allocations: 0.6977 MB / 0.8409 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.7263, allocations: 0.9992 MB / 0.8419 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.7263, allocations: 2.719 kB / 0.8419 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002716/0.7291, allocations: 1.252 MB / 0.8431 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.7291, allocations: 8 kB / 0.8431 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.7291, allocations: 11.98 kB / 0.8432 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.7291, allocations: 16 kB / 0.8432 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.73, allocations: 219.6 kB / 0.8434 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.73, allocations: 19.98 kB / 0.8434 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7318, allocations: 206.7 kB / 0.8436 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.732, allocations: 47.98 kB / 0.8436 GB, free: 4.52 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.001091/0.733, allocations: 0.4968 MB / 0.8441 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.7335, allocations: 193.7 kB / 0.8443 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.7358, allocations: 1.05 MB / 0.8453 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.7358, allocations: 8 kB / 0.8453 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7358, allocations: 0 / 0.8453 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001642/0.7375, allocations: 0.8592 MB / 0.8462 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.7431, allocations: 2.844 MB / 0.849 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7431, allocations: 0 / 0.849 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.7438, allocations: 143.8 kB / 0.8491 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.7438, allocations: 4 kB / 0.8491 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.7439, allocations: 23.98 kB / 0.8491 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.7439, allocations: 7.938 kB / 0.8491 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.7439, allocations: 12.12 kB / 0.8491 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.747, allocations: 1.515 MB / 0.8506 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/0.7479, allocations: 374.5 kB / 0.851 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.7482, allocations: 24 kB / 0.851 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009918/0.7492, allocations: 107.7 kB / 0.8511 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.7494, allocations: 60.42 kB / 0.8512 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.7495, allocations: 35.97 kB / 0.8512 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001971/0.7515, allocations: 1.19 MB / 0.8524 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7515, allocations: 3.938 kB / 0.8524 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002258/0.7538, allocations: 0.6387 MB / 0.853 GB, free: 10.79 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.002691/0.7565, allocations: 0.8574 MB / 0.8538 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.759, allocations: 1.003 MB / 0.8548 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.759, allocations: 7.938 kB / 0.8548 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008755/0.7599, allocations: 424.6 kB / 0.8552 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/0.7644, allocations: 0.8632 MB / 0.8561 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/0.7719, allocations: 4.465 MB / 0.8604 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.7732, allocations: 1.497 MB / 0.8619 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001749/0.7749, allocations: 367.3 kB / 0.8622 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.7753, allocations: 147.4 kB / 0.8624 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of SimCode: time 4.037e-06/0.7753, allocations: 0 / 0.8624 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of Templates: time 0.07391/0.8493, allocations: 34.48 MB / 0.896 GB, free: 15.43 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)