Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001741/0.001741, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001998/0.001998, allocations: 197.2 kB / 16.26 MB, free: 6.629 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002675/0.002675, allocations: 282.6 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 178.6 MB / 0.507 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 100.5 kB / 0.6059 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.177, allocations: 89.15 MB / 0.693 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.4219/0.5989, allocations: 80.47 MB / 0.7716 GB, free: 24.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02914/0.6281, allocations: 19.17 MB / 0.7903 GB, free: 22.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006806/0.6349, allocations: 96.09 kB / 0.7904 GB, free: 22.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00492/0.6399, allocations: 1.172 MB / 0.7915 GB, free: 21.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009582/0.6495, allocations: 2.637 MB / 0.7941 GB, free: 20.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006581/0.6561, allocations: 2.028 MB / 0.7961 GB, free: 19.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.6666, allocations: 5.756 MB / 0.8017 GB, free: 17.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.6712, allocations: 2.632 MB / 0.8043 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/0.6778, allocations: 2.21 MB / 0.8064 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004216/0.682, allocations: 1.755 MB / 0.8081 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.6832, allocations: 310 kB / 0.8084 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005496/0.6887, allocations: 1.722 MB / 0.8101 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.6899, allocations: 0.7805 MB / 0.8109 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.6924, allocations: 1.528 MB / 0.8124 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00785/0.7002, allocations: 5.086 MB / 0.8173 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7003, allocations: 0 / 0.8173 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7003, allocations: 1.125 kB / 0.8173 GB, free: 9.055 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001106/0.7004, allocations: 0 / 0.8173 GB, free: 9.055 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.006183/0.7066, allocations: 3.3 MB / 0.8206 GB, free: 6.578 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7066, allocations: 11 kB / 0.8206 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.7079, allocations: 380.9 kB / 0.8209 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.7123, allocations: 2.588 MB / 0.8235 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.7124, allocations: 150.8 kB / 0.8236 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.7127, allocations: 182.3 kB / 0.8238 GB, free: 4.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.7159, allocations: 1.83 MB / 0.8256 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.7159, allocations: 1.344 kB / 0.8256 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.7161, allocations: 73.22 kB / 0.8256 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.7161, allocations: 52.44 kB / 0.8257 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.7184, allocations: 1.352 MB / 0.827 GB, free: 2.469 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.0111/0.7295, allocations: 7.91 MB / 0.8347 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.7314, allocations: 0.9199 MB / 0.8356 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.732, allocations: 345 kB / 0.836 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.7332, allocations: 1.158 MB / 0.8371 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008122/0.734, allocations: 409 kB / 0.8375 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.365e-06/0.7341, allocations: 0 / 0.8375 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002481/0.7365, allocations: 1.078 MB / 0.8385 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.7366, allocations: 141 kB / 0.8387 GB, free: 8.898 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.002961/0.7396, allocations: 2.059 MB / 0.8407 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.7398, allocations: 50.39 kB / 0.8407 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.741, allocations: 1.183 MB / 0.8419 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.7413, allocations: 241.6 kB / 0.8421 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.7416, allocations: 216.2 kB / 0.8423 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.7418, allocations: 346.9 kB / 0.8427 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.7425, allocations: 335 kB / 0.843 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.7436, allocations: 0.6723 MB / 0.8436 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.7452, allocations: 0.9292 MB / 0.8445 GB, free: 4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.7453, allocations: 4 kB / 0.8445 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002486/0.7478, allocations: 1.194 MB / 0.8457 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.7478, allocations: 9.422 kB / 0.8457 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.7478, allocations: 12.52 kB / 0.8457 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.7478, allocations: 12 kB / 0.8457 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.7486, allocations: 211.7 kB / 0.8459 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/0.7486, allocations: 19.92 kB / 0.846 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.7502, allocations: 201.1 kB / 0.8462 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.7503, allocations: 47.98 kB / 0.8462 GB, free: 2.309 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.001117/0.7515, allocations: 0.5677 MB / 0.8468 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.7519, allocations: 225.3 kB / 0.847 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.754, allocations: 1.022 MB / 0.848 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.754, allocations: 11.94 kB / 0.848 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.754, allocations: 4 kB / 0.848 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/0.7555, allocations: 0.8085 MB / 0.8488 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005005/0.7606, allocations: 2.873 MB / 0.8516 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.7606, allocations: 4 kB / 0.8516 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.7612, allocations: 132 kB / 0.8517 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.7612, allocations: 11.94 kB / 0.8517 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.7613, allocations: 23.98 kB / 0.8517 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.7613, allocations: 4 kB / 0.8517 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7613, allocations: 4 kB / 0.8518 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.764, allocations: 1.473 MB / 0.8532 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/0.7648, allocations: 398.2 kB / 0.8536 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.7651, allocations: 24 kB / 0.8536 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009615/0.7661, allocations: 103.9 kB / 0.8537 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.7662, allocations: 60.47 kB / 0.8537 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.7663, allocations: 27.98 kB / 0.8538 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002257/0.7686, allocations: 1.404 MB / 0.8551 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7686, allocations: 4 kB / 0.8551 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002115/0.7707, allocations: 0.6388 MB / 0.8558 GB, free: 8.34 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.003603/0.7743, allocations: 1.11 MB / 0.8569 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.7767, allocations: 0.9497 MB / 0.8578 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7768, allocations: 0 / 0.8578 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007977/0.7776, allocations: 399 kB / 0.8582 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/0.782, allocations: 0.9138 MB / 0.8591 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/0.7902, allocations: 4.917 MB / 0.8639 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.7917, allocations: 1.595 MB / 0.8654 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001834/0.7935, allocations: 407.4 kB / 0.8658 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.794, allocations: 175.4 kB / 0.866 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.794, allocations: 0 / 0.866 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.07139/0.8654, allocations: 36.25 MB / 0.9014 GB, free: 10.52 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)