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.001363/0.001364, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001307/0.001307, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 307.2 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.24/1.24, allocations: 178.5 MB / 0.5079 GB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00267/0.00267, allocations: 91.84 kB / 0.6071 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.198, allocations: 89.14 MB / 0.6942 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.3803/0.5784, allocations: 80.98 MB / 0.7732 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03466/0.6131, allocations: 18.91 MB / 0.7917 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005481/0.6187, allocations: 99.56 kB / 0.7918 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.623, allocations: 1.169 MB / 0.793 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.6332, allocations: 2.789 MB / 0.7957 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.64, allocations: 1.898 MB / 0.7975 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.6507, allocations: 5.494 MB / 0.8029 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006248/0.657, allocations: 2.613 MB / 0.8054 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006959/0.664, allocations: 2.122 MB / 0.8075 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004257/0.6683, allocations: 1.66 MB / 0.8091 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.6697, allocations: 302.2 kB / 0.8094 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006927/0.6766, allocations: 1.692 MB / 0.8111 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.6784, allocations: 0.7 MB / 0.8118 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00434/0.6827, allocations: 1.432 MB / 0.8132 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.693, allocations: 4.753 MB / 0.8178 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.693, allocations: 0 / 0.8178 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.693, allocations: 7.938 kB / 0.8178 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.876e-05/0.6932, allocations: 1.062 kB / 0.8178 GB, free: 4.078 MB / 0.5762 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.006586/0.6997, allocations: 3.03 MB / 0.8208 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6998, allocations: 9.312 kB / 0.8208 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.7016, allocations: 426.6 kB / 0.8212 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.7055, allocations: 2.014 MB / 0.8232 GB, free: 396 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.7056, allocations: 149.3 kB / 0.8233 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.7059, allocations: 182.8 kB / 0.8235 GB, free: 264 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/0.7096, allocations: 1.908 MB / 0.8253 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.7096, allocations: 1.031 kB / 0.8253 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.7098, allocations: 73.31 kB / 0.8254 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.7099, allocations: 48.62 kB / 0.8255 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.7128, allocations: 1.435 MB / 0.8269 GB, free: 14.3 MB / 0.5919 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.01206/0.7249, allocations: 8.116 MB / 0.8348 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.7273, allocations: 1.042 MB / 0.8358 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.728, allocations: 369.4 kB / 0.8361 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.7291, allocations: 1.153 MB / 0.8373 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009246/0.7301, allocations: 443.4 kB / 0.8377 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=67): time 2.685e-06/0.7301, allocations: 0 / 0.8377 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67): time 0.002728/0.7328, allocations: 1.121 MB / 0.8388 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.7329, allocations: 144.9 kB / 0.8389 GB, free: 4.32 MB / 0.5919 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.002509/0.7354, allocations: 1.784 MB / 0.8407 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.7356, allocations: 49.92 kB / 0.8407 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.7366, allocations: 1.079 MB / 0.8418 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.737, allocations: 252.6 kB / 0.842 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.7373, allocations: 214.5 kB / 0.8422 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7374, allocations: 341.9 kB / 0.8425 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007705/0.7382, allocations: 365.8 kB / 0.8429 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.7393, allocations: 0.6997 MB / 0.8436 GB, free: 232 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.7411, allocations: 0.9973 MB / 0.8445 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.7411, allocations: 4 kB / 0.8446 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002575/0.7437, allocations: 1.245 MB / 0.8458 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.7437, allocations: 8 kB / 0.8458 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.7438, allocations: 8 kB / 0.8458 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/0.7438, allocations: 12 kB / 0.8458 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.7447, allocations: 227.6 kB / 0.846 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.7447, allocations: 15.94 kB / 0.846 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.7461, allocations: 158.9 kB / 0.8462 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/0.7462, allocations: 44 kB / 0.8462 GB, free: 13.39 MB / 0.6075 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.001018/0.7472, allocations: 0.5013 MB / 0.8467 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.7476, allocations: 189.7 kB / 0.8469 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.7498, allocations: 1.054 MB / 0.8479 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.7498, allocations: 8 kB / 0.8479 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7499, allocations: 0 / 0.8479 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/0.7516, allocations: 0.8553 MB / 0.8488 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/0.757, allocations: 2.849 MB / 0.8515 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.7571, allocations: 4 kB / 0.8516 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.7577, allocations: 144 kB / 0.8517 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.7577, allocations: 7.984 kB / 0.8517 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.7578, allocations: 27.98 kB / 0.8517 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.7578, allocations: 11.92 kB / 0.8517 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7578, allocations: 0 / 0.8517 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.7609, allocations: 1.522 MB / 0.8532 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.7616, allocations: 374.5 kB / 0.8536 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.7619, allocations: 28.11 kB / 0.8536 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.7627, allocations: 67.81 kB / 0.8537 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.7628, allocations: 56.48 kB / 0.8537 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.7629, allocations: 39.97 kB / 0.8538 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001825/0.7648, allocations: 1.202 MB / 0.8549 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7648, allocations: 0 / 0.8549 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002034/0.7668, allocations: 0.6427 MB / 0.8556 GB, free: 3.621 MB / 0.6075 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.002493/0.7693, allocations: 0.8866 MB / 0.8564 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.7718, allocations: 1.007 MB / 0.8574 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7718, allocations: 0 / 0.8574 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.7727, allocations: 424.6 kB / 0.8578 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/0.7768, allocations: 0.8555 MB / 0.8587 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.7836, allocations: 3.696 MB / 0.8623 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.7849, allocations: 1.493 MB / 0.8637 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.7854, allocations: 159.3 kB / 0.8639 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/0.7854, allocations: 0 / 0.8639 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.05876/0.8442, allocations: 34.33 MB / 0.8974 GB, free: 9.266 MB / 0.6544 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)