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.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001109/0.00111, allocations: 101.6 kB / 15.98 MB, free: 6.344 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.001287/0.001287, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7804/0.7804, allocations: 126.1 MB / 416.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.88 kB / 0.4945 GB, free: 3.887 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4376, allocations: 78.69 MB / 0.5713 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07526/0.5129, allocations: 80.22 MB / 0.6497 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03537/0.5483, allocations: 18.6 MB / 0.6678 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006185/0.5545, allocations: 91.5 kB / 0.6679 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00481/0.5594, allocations: 1.034 MB / 0.6689 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.5703, allocations: 2.571 MB / 0.6714 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00647/0.5767, allocations: 1.753 MB / 0.6731 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.5868, allocations: 5.53 MB / 0.6785 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005766/0.5926, allocations: 2.585 MB / 0.6811 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006965/0.5996, allocations: 2.156 MB / 0.6832 GB, free: 4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/0.6033, allocations: 1.715 MB / 0.6849 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.6044, allocations: 300 kB / 0.6851 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005496/0.6099, allocations: 1.704 MB / 0.6868 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.6114, allocations: 0.6931 MB / 0.6875 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003356/0.6147, allocations: 1.45 MB / 0.6889 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009276/0.624, allocations: 4.76 MB / 0.6935 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6241, allocations: 0 / 0.6935 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6241, allocations: 0 / 0.6935 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001561/0.6242, allocations: 4 kB / 0.6935 GB, free: 9.348 MB / 0.5294 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.006262/0.6305, allocations: 3.027 MB / 0.6965 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.6306, allocations: 8.031 kB / 0.6965 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.6322, allocations: 420.3 kB / 0.6969 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.6361, allocations: 2.071 MB / 0.6989 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.6363, allocations: 143.6 kB / 0.6991 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.6366, allocations: 183.9 kB / 0.6992 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.6401, allocations: 1.905 MB / 0.7011 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.6402, allocations: 0 / 0.7011 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.6403, allocations: 76 kB / 0.7012 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.6404, allocations: 51.98 kB / 0.7012 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.6432, allocations: 1.431 MB / 0.7026 GB, free: 15.85 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.01019/0.6534, allocations: 8.051 MB / 0.7105 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.6556, allocations: 1.045 MB / 0.7115 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.6563, allocations: 366.3 kB / 0.7119 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008997/0.6572, allocations: 1.152 MB / 0.713 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009118/0.6581, allocations: 438.9 kB / 0.7134 GB, free: 4.078 MB / 0.545 GB Notification: Performance of pre-optimization done (n=67): time 3.276e-06/0.6581, allocations: 0 / 0.7134 GB, free: 4.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.00256/0.6607, allocations: 1.127 MB / 0.7145 GB, free: 2.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.6608, allocations: 133.1 kB / 0.7146 GB, free: 2.789 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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/IBPSA 4.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.002412/0.6632, allocations: 1.769 MB / 0.7164 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.934e-05/0.6633, allocations: 49.7 kB / 0.7164 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008963/0.6642, allocations: 1.092 MB / 0.7175 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.6645, allocations: 244.6 kB / 0.7177 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.6648, allocations: 210.5 kB / 0.7179 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6649, allocations: 353.9 kB / 0.7182 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007773/0.6657, allocations: 361.8 kB / 0.7186 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.6668, allocations: 0.6985 MB / 0.7193 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.6684, allocations: 0.9934 MB / 0.7202 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.6684, allocations: 11.88 kB / 0.7203 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002339/0.6708, allocations: 1.245 MB / 0.7215 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6708, allocations: 8 kB / 0.7215 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.6708, allocations: 8 kB / 0.7215 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.6708, allocations: 12 kB / 0.7215 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.6716, allocations: 223.6 kB / 0.7217 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.6716, allocations: 15.94 kB / 0.7217 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.673, allocations: 214.9 kB / 0.7219 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.6731, allocations: 51.98 kB / 0.722 GB, free: 10.93 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.0008424/0.6739, allocations: 0.4936 MB / 0.7225 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.6742, allocations: 189.7 kB / 0.7226 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.6764, allocations: 1.039 MB / 0.7237 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.6764, allocations: 11.98 kB / 0.7237 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6764, allocations: 0 / 0.7237 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001543/0.678, allocations: 0.8553 MB / 0.7245 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.6825, allocations: 2.85 MB / 0.7273 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6825, allocations: 0 / 0.7273 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006387/0.6832, allocations: 139.8 kB / 0.7274 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.6832, allocations: 7.938 kB / 0.7274 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.6833, allocations: 27.98 kB / 0.7275 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.6833, allocations: 7.984 kB / 0.7275 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6833, allocations: 160 / 0.7275 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.6859, allocations: 1.526 MB / 0.7289 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.6865, allocations: 366.6 kB / 0.7293 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.6868, allocations: 27.94 kB / 0.7293 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/0.6877, allocations: 103.7 kB / 0.7294 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6879, allocations: 60.47 kB / 0.7295 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.688, allocations: 35.97 kB / 0.7295 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001682/0.6896, allocations: 1.19 MB / 0.7307 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6897, allocations: 4 kB / 0.7307 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001788/0.6914, allocations: 0.6348 MB / 0.7313 GB, free: 1.172 MB / 0.5606 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.001933/0.6934, allocations: 0.8684 MB / 0.7321 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.6956, allocations: 1.016 MB / 0.7331 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6957, allocations: 0 / 0.7331 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.6965, allocations: 419.6 kB / 0.7335 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.6999, allocations: 0.874 MB / 0.7344 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.7063, allocations: 4.456 MB / 0.7387 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.7074, allocations: 1.493 MB / 0.7402 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001324/0.7087, allocations: 360.1 kB / 0.7405 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.7091, allocations: 151.4 kB / 0.7407 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.7091, allocations: 0 / 0.7407 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.3511/1.06, allocations: 34.46 MB / 0.7743 GB, free: 148.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)