Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.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.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 103.3 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.001107/0.001108, allocations: 195.6 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.782/0.782, allocations: 126.1 MB / 416.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 63.89 kB / 0.4945 GB, free: 3.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4414, allocations: 78.7 MB / 0.5713 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.07475/0.5162, allocations: 80.47 MB / 0.6499 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03218/0.5484, allocations: 19.19 MB / 0.6686 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006279/0.5547, allocations: 95.5 kB / 0.6687 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004306/0.5591, allocations: 1.178 MB / 0.6699 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008427/0.5675, allocations: 2.625 MB / 0.6724 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005629/0.5732, allocations: 2.028 MB / 0.6744 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007369/0.5806, allocations: 5.749 MB / 0.68 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.5843, allocations: 2.624 MB / 0.6826 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.589, allocations: 2.207 MB / 0.6848 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.5915, allocations: 1.762 MB / 0.6865 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000558/0.592, allocations: 304 kB / 0.6868 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.5961, allocations: 1.724 MB / 0.6885 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.5969, allocations: 0.7826 MB / 0.6892 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.5987, allocations: 1.524 MB / 0.6907 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007869/0.6066, allocations: 5.091 MB / 0.6957 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.6066, allocations: 0 / 0.6957 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.689e-06/0.6067, allocations: 4 kB / 0.6957 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000168/0.6068, allocations: 0 / 0.6957 GB, free: 7.137 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.00723/0.6141, allocations: 3.301 MB / 0.6989 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6141, allocations: 8.031 kB / 0.6989 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.6154, allocations: 388.2 kB / 0.6993 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.6197, allocations: 2.594 MB / 0.7018 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.6199, allocations: 139.5 kB / 0.7019 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.6201, allocations: 176 kB / 0.7021 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.6233, allocations: 1.829 MB / 0.7039 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.6233, allocations: 8 kB / 0.7039 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.6235, allocations: 72 kB / 0.704 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-05/0.6235, allocations: 51.92 kB / 0.704 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.626, allocations: 1.352 MB / 0.7053 GB, free: 13 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.009946/0.6359, allocations: 7.91 MB / 0.7131 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.638, allocations: 0.9105 MB / 0.714 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.6386, allocations: 343.6 kB / 0.7143 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008583/0.6395, allocations: 1.156 MB / 0.7154 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008559/0.6403, allocations: 403 kB / 0.7158 GB, free: 1.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=66): time 2.946e-06/0.6403, allocations: 0 / 0.7158 GB, free: 1.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=66): time 0.002441/0.6428, allocations: 1.082 MB / 0.7169 GB, free: 0.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.6429, allocations: 145 kB / 0.717 GB, free: 336 kB / 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.002894/0.6458, allocations: 2.063 MB / 0.719 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.6459, allocations: 53.7 kB / 0.7191 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.6471, allocations: 1.183 MB / 0.7202 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.6473, allocations: 232.7 kB / 0.7204 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.6476, allocations: 218.4 kB / 0.7207 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6478, allocations: 349.9 kB / 0.721 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.6485, allocations: 341.8 kB / 0.7213 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009689/0.6494, allocations: 0.6606 MB / 0.722 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.651, allocations: 0.9363 MB / 0.7229 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.651, allocations: 0 / 0.7229 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002404/0.6534, allocations: 1.202 MB / 0.724 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.6535, allocations: 12.12 kB / 0.7241 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6535, allocations: 8 kB / 0.7241 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.6535, allocations: 12 kB / 0.7241 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.6542, allocations: 211.6 kB / 0.7243 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.6543, allocations: 15.94 kB / 0.7243 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.6559, allocations: 210.6 kB / 0.7245 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.584e-05/0.656, allocations: 40 kB / 0.7245 GB, free: 8.305 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (118): * Single equations (assignments): 118 * 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.001272/0.6573, allocations: 0.575 MB / 0.7251 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.6577, allocations: 209.4 kB / 0.7253 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.6597, allocations: 1.031 MB / 0.7263 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.6597, allocations: 8 kB / 0.7263 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.6597, allocations: 0 / 0.7263 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.6611, allocations: 0.8162 MB / 0.7271 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.6658, allocations: 2.865 MB / 0.7299 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.6658, allocations: 3.984 kB / 0.7299 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.6664, allocations: 136 kB / 0.73 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.6664, allocations: 8 kB / 0.73 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.6665, allocations: 35.91 kB / 0.7301 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.6665, allocations: 4 kB / 0.7301 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6665, allocations: 0 / 0.7301 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.6691, allocations: 1.477 MB / 0.7315 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/0.6698, allocations: 398.2 kB / 0.7319 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.6701, allocations: 23.98 kB / 0.7319 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.6711, allocations: 99.75 kB / 0.732 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.6712, allocations: 60.42 kB / 0.7321 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.6713, allocations: 35.97 kB / 0.7321 GB, free: 380 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00222/0.6735, allocations: 1.408 MB / 0.7335 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6736, allocations: 0 / 0.7335 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002031/0.6756, allocations: 0.6387 MB / 0.7341 GB, free: 14.3 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 (72): * Single equations (assignments): 64 * 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.002573/0.6782, allocations: 1.106 MB / 0.7352 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.6804, allocations: 0.9378 MB / 0.7361 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6804, allocations: 0 / 0.7361 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007107/0.6812, allocations: 411.3 kB / 0.7365 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/0.6854, allocations: 0.9029 MB / 0.7374 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.6928, allocations: 4.92 MB / 0.7422 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.694, allocations: 1.595 MB / 0.7437 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001686/0.6957, allocations: 400.2 kB / 0.7441 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.6962, allocations: 179.4 kB / 0.7443 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/0.6962, allocations: 0 / 0.7443 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of Templates: time 0.3327/1.029, allocations: 36.22 MB / 0.7797 GB, free: 144.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)