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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.059/1.059, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6197/0.6197, allocations: 115 MB / 376 MB, free: 7.512 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.677e-05, allocations: 7 kB / 482 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.02337/0.02339, allocations: 27.14 MB / 0.4972 GB, free: 9.402 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02233/0.04573, allocations: 12.39 MB / 0.5093 GB, free: 15.38 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005389/0.05112, allocations: 139.5 kB / 0.5095 GB, free: 15.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.05413, allocations: 0.7657 MB / 0.5102 GB, free: 14.7 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008305/0.06244, allocations: 2.282 MB / 0.5124 GB, free: 12.85 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006205/0.06864, allocations: 2.244 MB / 0.5146 GB, free: 10.79 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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. Notification: Performance of NFFlatten.flatten: time 0.008017/0.07666, allocations: 5.69 MB / 0.5202 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.07994, allocations: 2.097 MB / 0.5222 GB, free: 2.938 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006731/0.08667, allocations: 2.909 MB / 0.5251 GB, free: 40 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/0.08965, allocations: 1.436 MB / 0.5265 GB, free: 14.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.09016, allocations: 304 kB / 0.5268 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.09248, allocations: 1.011 MB / 0.5277 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008012/0.09328, allocations: 0.7517 MB / 0.5285 GB, free: 12.54 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.09474, allocations: 0.9742 MB / 0.5294 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004437/0.09917, allocations: 2.703 MB / 0.5321 GB, free: 8.855 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.09918, allocations: 0 / 0.5321 GB, free: 8.855 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.09918, allocations: 0 / 0.5321 GB, free: 8.855 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.859e-05/0.09925, allocations: 0 / 0.5321 GB, free: 8.855 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.003775/0.103, allocations: 3.219 MB / 0.5352 GB, free: 5.566 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1031, allocations: 8.625 kB / 0.5352 GB, free: 5.559 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.1041, allocations: 0.5618 MB / 0.5358 GB, free: 4.996 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.1062, allocations: 2.056 MB / 0.5378 GB, free: 2.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.947e-05/0.1063, allocations: 147.7 kB / 0.5379 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.1065, allocations: 204 kB / 0.5381 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.1083, allocations: 1.563 MB / 0.5396 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.1083, allocations: 4 kB / 0.5396 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/0.1084, allocations: 72 kB / 0.5397 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.1085, allocations: 47.98 kB / 0.5398 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.1092, allocations: 0.5845 MB / 0.5403 GB, free: 144 kB / 458.7 MB 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.006932/0.1161, allocations: 6.905 MB / 0.5471 GB, free: 9.016 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.117, allocations: 0.5235 MB / 0.5476 GB, free: 8.488 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.1172, allocations: 149.5 kB / 0.5477 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.1174, allocations: 90.52 kB / 0.5478 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.1178, allocations: 400.2 kB / 0.5482 GB, free: 7.812 MB / 474.7 MB Notification: Performance of pre-optimization done (n=67): time 4.728e-06/0.1178, allocations: 0 / 0.5482 GB, free: 7.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=67): time 0.001006/0.1188, allocations: 0.645 MB / 0.5488 GB, free: 7.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.1189, allocations: 137.2 kB / 0.549 GB, free: 6.996 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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 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.001263/0.1201, allocations: 1.529 MB / 0.5504 GB, free: 5.414 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.1202, allocations: 53.7 kB / 0.5505 GB, free: 5.355 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/0.121, allocations: 1.25 MB / 0.5517 GB, free: 4.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.1211, allocations: 265.8 kB / 0.552 GB, free: 3.828 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.1214, allocations: 272.4 kB / 0.5522 GB, free: 3.551 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1216, allocations: 0.5198 MB / 0.5527 GB, free: 3.023 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.1219, allocations: 122.5 kB / 0.5529 GB, free: 2.906 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.1225, allocations: 1.265 MB / 0.5541 GB, free: 1.223 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.1232, allocations: 0.9339 MB / 0.555 GB, free: 24 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.1232, allocations: 4 kB / 0.555 GB, free: 20 kB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001173/0.1244, allocations: 0.9491 MB / 0.5559 GB, free: 15.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1244, allocations: 12 kB / 0.5559 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.1244, allocations: 12.09 kB / 0.556 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.1244, allocations: 27.92 kB / 0.556 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.1249, allocations: 264.1 kB / 0.5562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.1249, allocations: 35.8 kB / 0.5563 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.1256, allocations: 143.1 kB / 0.5564 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.1257, allocations: 51.98 kB / 0.5565 GB, free: 14.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,heaPum.refCyc.refCycHeaPumCoo.iceFacCal.conIsAirSource.y,heaPum.refCyc.refCycHeaPumHea.iceFacCal.conIsAirSource.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0004416/0.1261, allocations: 244.1 kB / 0.5567 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.1263, allocations: 214.7 kB / 0.5569 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.1272, allocations: 0.7178 MB / 0.5576 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.1272, allocations: 11.94 kB / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1272, allocations: 4 kB / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004659/0.1277, allocations: 0.5022 MB / 0.5581 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.1302, allocations: 1.833 MB / 0.5599 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1302, allocations: 0 / 0.5599 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.1305, allocations: 148 kB / 0.56 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.1305, allocations: 4 kB / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.1306, allocations: 31.97 kB / 0.5601 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1306, allocations: 4 kB / 0.5601 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1306, allocations: 4 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1317, allocations: 1.008 MB / 0.5611 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.1321, allocations: 306.4 kB / 0.5614 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.1322, allocations: 27.98 kB / 0.5614 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.1326, allocations: 35.97 kB / 0.5614 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.1327, allocations: 68.47 kB / 0.5615 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.1327, allocations: 35.97 kB / 0.5615 GB, free: 9.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006873/0.1334, allocations: 0.8222 MB / 0.5623 GB, free: 8.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1334, allocations: 0 / 0.5623 GB, free: 8.359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001487/0.1349, allocations: 0.6425 MB / 0.5629 GB, free: 7.715 MB / 490.7 MB 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.eff.hys.y,heaPum.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 (82): * Single equations (assignments): 74 * 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.001434/0.1363, allocations: 0.6979 MB / 0.5636 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.1371, allocations: 0.5278 MB / 0.5641 GB, free: 6.711 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.1371, allocations: 12 kB / 0.5641 GB, free: 6.699 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.1374, allocations: 245.1 kB / 0.5644 GB, free: 6.449 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.1392, allocations: 0.7689 MB / 0.5651 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.1441, allocations: 3.41 MB / 0.5685 GB, free: 2.234 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1444, allocations: 384.3 kB / 0.5688 GB, free: 1.836 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001025/0.1455, allocations: 293.3 kB / 0.5691 GB, free: 1.559 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.1466, allocations: 0.6891 MB / 0.5698 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1466, allocations: 0 / 0.5698 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of Templates: time 0.04576/0.1924, allocations: 34.16 MB / 0.6031 GB, free: 15.53 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.156575020868331]