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.001792/0.001792, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 292.6 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5072 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 98.16 kB / 0.6064 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1827, allocations: 89.14 MB / 0.6935 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.4246/0.6072, allocations: 80.97 MB / 0.7726 GB, free: 24.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02856/0.6359, allocations: 18.93 MB / 0.791 GB, free: 22.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006663/0.6426, allocations: 101.6 kB / 0.7911 GB, free: 22.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004385/0.647, allocations: 1.172 MB / 0.7923 GB, free: 21.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.6574, allocations: 2.785 MB / 0.795 GB, free: 20.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006675/0.6641, allocations: 1.899 MB / 0.7969 GB, free: 19.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009479/0.6736, allocations: 5.482 MB / 0.8022 GB, free: 17.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005243/0.6789, allocations: 2.621 MB / 0.8048 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006304/0.6852, allocations: 2.141 MB / 0.8069 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.6889, allocations: 1.655 MB / 0.8085 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.6902, allocations: 301.6 kB / 0.8088 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007851/0.698, allocations: 1.692 MB / 0.8104 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.6998, allocations: 0.7032 MB / 0.8111 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00296/0.7028, allocations: 1.441 MB / 0.8125 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007297/0.7101, allocations: 4.755 MB / 0.8172 GB, free: 9.336 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.7101, allocations: 0 / 0.8172 GB, free: 9.336 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7101, allocations: 0 / 0.8172 GB, free: 9.336 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.074e-05/0.7102, allocations: 0 / 0.8172 GB, free: 9.336 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.005528/0.7158, allocations: 3.032 MB / 0.8201 GB, free: 7.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7158, allocations: 8 kB / 0.8201 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.7174, allocations: 429.3 kB / 0.8205 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.7207, allocations: 2.01 MB / 0.8225 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.7208, allocations: 145 kB / 0.8226 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.721, allocations: 187.5 kB / 0.8228 GB, free: 5.215 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.7242, allocations: 1.908 MB / 0.8247 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.7242, allocations: 0 / 0.8247 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.7244, allocations: 78.36 kB / 0.8248 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.7244, allocations: 44.25 kB / 0.8248 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.727, allocations: 1.434 MB / 0.8262 GB, free: 3.266 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.01012/0.7371, allocations: 8.11 MB / 0.8341 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.7394, allocations: 1.053 MB / 0.8351 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006972/0.7401, allocations: 356.3 kB / 0.8355 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.7411, allocations: 1.159 MB / 0.8366 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009375/0.7421, allocations: 432 kB / 0.837 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=67): time 5.26e-06/0.7421, allocations: 0 / 0.837 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.002835/0.7449, allocations: 1.132 MB / 0.8381 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/0.7451, allocations: 136.8 kB / 0.8383 GB, free: 9.371 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.002532/0.7476, allocations: 1.781 MB / 0.84 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.7477, allocations: 53.83 kB / 0.8401 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.7488, allocations: 1.087 MB / 0.8411 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.7491, allocations: 239.6 kB / 0.8413 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.7494, allocations: 220 kB / 0.8416 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7496, allocations: 342.4 kB / 0.8419 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.7503, allocations: 364.6 kB / 0.8422 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.7514, allocations: 0.6955 MB / 0.8429 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.7531, allocations: 0.9964 MB / 0.8439 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.7532, allocations: 2.469 kB / 0.8439 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002669/0.7558, allocations: 1.249 MB / 0.8451 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.7559, allocations: 18.38 kB / 0.8451 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.7559, allocations: 8 kB / 0.8451 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.7559, allocations: 16 kB / 0.8451 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/0.7568, allocations: 224.2 kB / 0.8454 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.7568, allocations: 23.92 kB / 0.8454 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.7582, allocations: 158.7 kB / 0.8455 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/0.7583, allocations: 47.98 kB / 0.8456 GB, free: 3.496 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.0009833/0.7593, allocations: 0.4966 MB / 0.8461 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.7596, allocations: 193.6 kB / 0.8463 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.7619, allocations: 1.041 MB / 0.8473 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.7619, allocations: 15.98 kB / 0.8473 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7619, allocations: 4 kB / 0.8473 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/0.7636, allocations: 0.8553 MB / 0.8481 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.7685, allocations: 2.848 MB / 0.8509 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.7685, allocations: 0 / 0.8509 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.7692, allocations: 139.8 kB / 0.851 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.7692, allocations: 7.984 kB / 0.851 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.7693, allocations: 23.98 kB / 0.8511 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.7693, allocations: 12.12 kB / 0.8511 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.7693, allocations: 7.938 kB / 0.8511 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.7723, allocations: 1.518 MB / 0.8526 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000776/0.7731, allocations: 370.5 kB / 0.8529 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.7734, allocations: 27.98 kB / 0.8529 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.7742, allocations: 63.81 kB / 0.853 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7744, allocations: 68.41 kB / 0.8531 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.7745, allocations: 27.98 kB / 0.8531 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001832/0.7763, allocations: 1.21 MB / 0.8543 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7763, allocations: 0 / 0.8543 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002034/0.7784, allocations: 0.6427 MB / 0.8549 GB, free: 9.777 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.002508/0.7809, allocations: 0.8882 MB / 0.8558 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.7834, allocations: 1.001 MB / 0.8568 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.7834, allocations: 8.062 kB / 0.8568 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008623/0.7843, allocations: 426.9 kB / 0.8572 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/0.7883, allocations: 0.8459 MB / 0.858 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/0.7948, allocations: 3.631 MB / 0.8615 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.796, allocations: 1.501 MB / 0.863 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001594/0.7976, allocations: 366.6 kB / 0.8634 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.798, allocations: 147.4 kB / 0.8635 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.798, allocations: 0 / 0.8635 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.06809/0.8661, allocations: 35.06 MB / 0.8977 GB, free: 14.68 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)