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.001374/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001394/0.001394, allocations: 195.6 kB / 16.14 MB, free: 6.738 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002621/0.00262, allocations: 283.2 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.0027, allocations: 94.61 kB / 0.6057 GB, free: 25.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1749, allocations: 89.14 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.4328/0.6077, allocations: 80.39 MB / 0.7713 GB, free: 24.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.6338, allocations: 18.79 MB / 0.7896 GB, free: 22.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004633/0.6385, allocations: 94.97 kB / 0.7897 GB, free: 22.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.6424, allocations: 0.9816 MB / 0.7907 GB, free: 22.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008615/0.6511, allocations: 2.561 MB / 0.7932 GB, free: 21.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.6564, allocations: 1.72 MB / 0.7949 GB, free: 20.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00841/0.6648, allocations: 6.86 MB / 0.8016 GB, free: 17.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.6685, allocations: 2.228 MB / 0.8038 GB, free: 16.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.6726, allocations: 1.784 MB / 0.8055 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.6756, allocations: 1.62 MB / 0.8071 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004869/0.6761, allocations: 132.3 kB / 0.8072 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/0.6802, allocations: 1.47 MB / 0.8086 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.6808, allocations: 0.5255 MB / 0.8092 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.6825, allocations: 1.275 MB / 0.8104 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.6878, allocations: 4.646 MB / 0.8149 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6878, allocations: 0 / 0.8149 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6878, allocations: 1.5 kB / 0.8149 GB, free: 10.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.793e-05/0.6879, allocations: 0 / 0.8149 GB, free: 10.72 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.005258/0.6932, allocations: 3.03 MB / 0.8179 GB, free: 8.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6932, allocations: 14.75 kB / 0.8179 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.6948, allocations: 421.9 kB / 0.8183 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.6979, allocations: 2.054 MB / 0.8203 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.698, allocations: 144.4 kB / 0.8205 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.6983, allocations: 183 kB / 0.8206 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.7014, allocations: 1.907 MB / 0.8225 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.7015, allocations: 6.344 kB / 0.8225 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.7016, allocations: 73.81 kB / 0.8226 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.7016, allocations: 47.7 kB / 0.8226 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.7041, allocations: 1.432 MB / 0.824 GB, free: 4.621 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.009654/0.7138, allocations: 8.062 MB / 0.8319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.7161, allocations: 1.05 MB / 0.8329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.7169, allocations: 363.7 kB / 0.8333 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.7179, allocations: 1.157 MB / 0.8344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009876/0.7189, allocations: 437.5 kB / 0.8348 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=67): time 3.206e-06/0.7189, allocations: 4 kB / 0.8348 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.002774/0.7217, allocations: 1.118 MB / 0.8359 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.7218, allocations: 141.3 kB / 0.836 GB, free: 10.75 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.002567/0.7244, allocations: 1.771 MB / 0.8378 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.7245, allocations: 47.05 kB / 0.8378 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.7256, allocations: 1.091 MB / 0.8389 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.7258, allocations: 244.3 kB / 0.8391 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.7262, allocations: 212.4 kB / 0.8393 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7263, allocations: 342.7 kB / 0.8396 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007731/0.7271, allocations: 365 kB / 0.84 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.7282, allocations: 0.702 MB / 0.8407 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.73, allocations: 0.9954 MB / 0.8416 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.73, allocations: 8 kB / 0.8417 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00271/0.7327, allocations: 1.237 MB / 0.8429 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.7327, allocations: 10.19 kB / 0.8429 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.7328, allocations: 8 kB / 0.8429 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.7328, allocations: 16.53 kB / 0.8429 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.7336, allocations: 227.6 kB / 0.8431 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.7337, allocations: 15.94 kB / 0.8431 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.7352, allocations: 214.5 kB / 0.8433 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.7353, allocations: 47.98 kB / 0.8434 GB, free: 4.73 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.0009929/0.7363, allocations: 0.497 MB / 0.8439 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.7367, allocations: 189.7 kB / 0.844 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.739, allocations: 1.045 MB / 0.8451 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.739, allocations: 11.98 kB / 0.8451 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.739, allocations: 0 / 0.8451 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/0.7407, allocations: 0.8553 MB / 0.8459 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/0.7458, allocations: 2.837 MB / 0.8487 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7458, allocations: 0 / 0.8487 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/0.7465, allocations: 144 kB / 0.8488 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.7465, allocations: 4 kB / 0.8488 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.7465, allocations: 27.98 kB / 0.8488 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.7466, allocations: 11.92 kB / 0.8489 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7466, allocations: 4 kB / 0.8489 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.7496, allocations: 1.522 MB / 0.8503 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007505/0.7504, allocations: 370.5 kB / 0.8507 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.7506, allocations: 20 kB / 0.8507 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7516, allocations: 115.9 kB / 0.8508 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.7518, allocations: 64.41 kB / 0.8509 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/0.7519, allocations: 35.97 kB / 0.8509 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001839/0.7537, allocations: 1.19 MB / 0.8521 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7537, allocations: 0 / 0.8521 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001932/0.7557, allocations: 0.6426 MB / 0.8527 GB, free: 11 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.00257/0.7583, allocations: 0.8635 MB / 0.8536 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.7604, allocations: 0.8829 MB / 0.8544 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.7605, allocations: 4 kB / 0.8544 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.7614, allocations: 424.1 kB / 0.8548 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/0.7656, allocations: 0.8314 MB / 0.8556 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007091/0.7727, allocations: 4.454 MB / 0.86 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.774, allocations: 1.501 MB / 0.8615 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001899/0.7759, allocations: 363.6 kB / 0.8618 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.7763, allocations: 147.4 kB / 0.8619 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.7763, allocations: 0 / 0.8619 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of Templates: time 0.06408/0.8404, allocations: 33.5 MB / 0.8947 GB, free: 0.7227 MB / 0.6075 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)