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.00129/0.00129, allocations: 117.2 kB / 17.08 MB, free: 5.996 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.001007/0.001007, allocations: 193.8 kB / 18.02 MB, free: 5.074 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.264/1.264, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7542/0.7542, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.7 kB / 0.5738 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 78.7 MB / 0.6506 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07531/0.2164, allocations: 80.99 MB / 0.7297 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.399/0.6154, allocations: 18.9 MB / 0.7482 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005165/0.6206, allocations: 99.81 kB / 0.7483 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003943/0.6245, allocations: 1.204 MB / 0.7495 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009376/0.634, allocations: 2.925 MB / 0.7523 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005698/0.6397, allocations: 1.921 MB / 0.7542 GB, free: 19.82 MB / 0.5762 GB [/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. [/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. Notification: Performance of NFFlatten.flatten: time 0.01173/0.6514, allocations: 5.51 MB / 0.7596 GB, free: 19.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005536/0.657, allocations: 2.608 MB / 0.7621 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007151/0.6642, allocations: 2.175 MB / 0.7642 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003947/0.6681, allocations: 1.674 MB / 0.7659 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006984/0.6689, allocations: 301 kB / 0.7662 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/0.674, allocations: 1.691 MB / 0.7678 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009319/0.675, allocations: 0.6978 MB / 0.7685 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.6773, allocations: 1.441 MB / 0.7699 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008063/0.6854, allocations: 4.831 MB / 0.7746 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6854, allocations: 0 / 0.7746 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6855, allocations: 4 kB / 0.7746 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001186/0.6856, allocations: 4.484 kB / 0.7746 GB, free: 17.94 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.006653/0.6922, allocations: 3.13 MB / 0.7777 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6923, allocations: 9.938 kB / 0.7777 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.6941, allocations: 438.5 kB / 0.7781 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.6978, allocations: 2.102 MB / 0.7802 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.698, allocations: 142.2 kB / 0.7803 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.6983, allocations: 197 kB / 0.7805 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003367/0.7016, allocations: 1.902 MB / 0.7823 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/0.7017, allocations: 5.312 kB / 0.7824 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.7019, allocations: 74.16 kB / 0.7824 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.7019, allocations: 50.42 kB / 0.7825 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.7045, allocations: 1.435 MB / 0.7839 GB, free: 15.43 MB / 0.5762 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.009044/0.7136, allocations: 8.042 MB / 0.7917 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.7155, allocations: 1.038 MB / 0.7927 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.7161, allocations: 372.7 kB / 0.7931 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/0.7167, allocations: 1.151 MB / 0.7942 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007688/0.7175, allocations: 432.8 kB / 0.7946 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=67): time 3.045e-06/0.7175, allocations: 0 / 0.7946 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.002418/0.7199, allocations: 1.141 MB / 0.7957 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.72, allocations: 140.2 kB / 0.7959 GB, free: 6.969 MB / 0.5762 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.002201/0.7222, allocations: 1.778 MB / 0.7976 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.7223, allocations: 45.98 kB / 0.7977 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007194/0.723, allocations: 1.109 MB / 0.7987 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.7233, allocations: 259.8 kB / 0.799 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.7235, allocations: 216.6 kB / 0.7992 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.7236, allocations: 342.5 kB / 0.7995 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/0.7242, allocations: 367 kB / 0.7999 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.7251, allocations: 0.6941 MB / 0.8006 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.7264, allocations: 0.9961 MB / 0.8015 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.7265, allocations: 2.906 kB / 0.8015 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002175/0.7286, allocations: 1.254 MB / 0.8028 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.7287, allocations: 8.531 kB / 0.8028 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7287, allocations: 12.66 kB / 0.8028 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.7287, allocations: 17.16 kB / 0.8028 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.7294, allocations: 221.6 kB / 0.803 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.7295, allocations: 30.02 kB / 0.803 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.7307, allocations: 149.2 kB / 0.8032 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.7308, allocations: 50.42 kB / 0.8032 GB, free: 2.109 MB / 0.5762 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.0008534/0.7317, allocations: 0.4964 MB / 0.8037 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.732, allocations: 203.1 kB / 0.8039 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.7338, allocations: 1.04 MB / 0.8049 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.7338, allocations: 10.09 kB / 0.8049 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7339, allocations: 2.5 kB / 0.8049 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/0.7352, allocations: 0.8566 MB / 0.8058 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.7397, allocations: 2.863 MB / 0.8086 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7397, allocations: 0 / 0.8086 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.7403, allocations: 143.6 kB / 0.8087 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.7404, allocations: 3 kB / 0.8087 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.7404, allocations: 27.11 kB / 0.8087 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.7404, allocations: 5.562 kB / 0.8087 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7405, allocations: 3.188 kB / 0.8087 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.7431, allocations: 1.535 MB / 0.8102 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.7438, allocations: 387.1 kB / 0.8106 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.7441, allocations: 20.47 kB / 0.8106 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/0.7449, allocations: 66.86 kB / 0.8107 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.7451, allocations: 64.67 kB / 0.8107 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.7451, allocations: 36.19 kB / 0.8108 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001758/0.7469, allocations: 1.2 MB / 0.812 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7469, allocations: 3.656 kB / 0.812 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001909/0.7488, allocations: 0.6504 MB / 0.8126 GB, free: 11.77 MB / 0.5919 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.001853/0.7507, allocations: 0.8891 MB / 0.8135 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.7526, allocations: 0.8941 MB / 0.8143 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7526, allocations: 0 / 0.8143 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000792/0.7534, allocations: 423.2 kB / 0.8147 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/0.7569, allocations: 0.8566 MB / 0.8156 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.7631, allocations: 3.694 MB / 0.8192 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.7643, allocations: 1.486 MB / 0.8206 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.7648, allocations: 159.4 kB / 0.8208 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.7648, allocations: 0 / 0.8208 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of Templates: time 0.0484/0.8132, allocations: 34.53 MB / 0.8545 GB, free: 1.461 MB / 0.6231 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)