Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001392, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 68.06 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3548, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D): time 0.07797/0.4328, allocations: 81.08 MB / 1.147 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02658/0.4595, allocations: 18.44 MB / 1.165 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004398/0.4639, allocations: 99.5 kB / 1.165 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.4676, allocations: 1.301 MB / 1.167 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.4781, allocations: 2.844 MB / 1.17 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007431/0.4855, allocations: 2.068 MB / 1.172 GB, free: 240 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008223/0.4938, allocations: 5.491 MB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004433/0.4982, allocations: 2.536 MB / 1.179 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.5035, allocations: 2.142 MB / 1.181 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.5067, allocations: 1.676 MB / 1.183 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009292/0.5077, allocations: 300 kB / 1.183 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.5121, allocations: 1.969 MB / 1.185 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.5132, allocations: 0.7087 MB / 1.186 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.5156, allocations: 1.439 MB / 1.187 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006503/0.5221, allocations: 4.962 MB / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5222, allocations: 0 / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5222, allocations: 0 / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.26e-05/0.5223, allocations: 0 / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.005665/0.5279, allocations: 3.15 MB / 1.195 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.528, allocations: 8.031 kB / 1.195 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.5292, allocations: 356.5 kB / 1.196 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.5332, allocations: 2.42 MB / 1.198 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.5334, allocations: 139.2 kB / 1.198 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.5336, allocations: 167.9 kB / 1.198 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.5367, allocations: 1.711 MB / 1.2 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.5367, allocations: 11.91 kB / 1.2 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.5368, allocations: 71.94 kB / 1.2 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.5369, allocations: 43.98 kB / 1.2 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.5396, allocations: 1.254 MB / 1.201 GB, free: 1.391 MB / 0.9512 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.01064/0.5503, allocations: 7.439 MB / 1.209 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.552, allocations: 0.745 MB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.5528, allocations: 367.2 kB / 1.21 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/0.5537, allocations: 1.148 MB / 1.211 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.5538, allocations: 51.11 kB / 1.211 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.5538, allocations: 0 / 1.211 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58): time 0.002722/0.5565, allocations: 1.039 MB / 1.212 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.5566, allocations: 111.4 kB / 1.212 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.5597, allocations: 1.996 MB / 1.214 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.5598, allocations: 45.7 kB / 1.214 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.5609, allocations: 1.077 MB / 1.215 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.5611, allocations: 209.1 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.5614, allocations: 190.5 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5616, allocations: 337.9 kB / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.5623, allocations: 324.7 kB / 1.216 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5635, allocations: 0.6352 MB / 1.217 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.5651, allocations: 0.8659 MB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5651, allocations: 4 kB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00247/0.5676, allocations: 1.088 MB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5676, allocations: 8 kB / 1.219 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5676, allocations: 8.531 kB / 1.219 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.5677, allocations: 19.98 kB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.5685, allocations: 211.6 kB / 1.219 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.5685, allocations: 15.92 kB / 1.219 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5698, allocations: 170.7 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.5699, allocations: 36 kB / 1.219 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001516/0.5714, allocations: 0.7635 MB / 1.22 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009942/0.5724, allocations: 0.6272 MB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001609/0.574, allocations: 0.8659 MB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/0.574, allocations: 4 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002386/0.5764, allocations: 1.08 MB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5765, allocations: 13.81 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.5765, allocations: 8 kB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5765, allocations: 12.53 kB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/0.5773, allocations: 207.7 kB / 1.223 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.5773, allocations: 19.92 kB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5786, allocations: 142.3 kB / 1.223 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.5787, allocations: 36 kB / 1.223 GB, free: 10.28 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,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 (102): * Single equations (assignments): 102 * 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.0002848/0.579, allocations: 240 kB / 1.223 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.5793, allocations: 209.5 kB / 1.223 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.5815, allocations: 1.015 MB / 1.224 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5816, allocations: 12 kB / 1.224 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5816, allocations: 0 / 1.224 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/0.5831, allocations: 0.7555 MB / 1.225 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.5878, allocations: 2.806 MB / 1.228 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.5878, allocations: 4 kB / 1.228 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.5884, allocations: 131.8 kB / 1.228 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.5884, allocations: 8.438 kB / 1.228 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.5884, allocations: 23.98 kB / 1.228 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.5885, allocations: 7.938 kB / 1.228 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5885, allocations: 4 kB / 1.228 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.5913, allocations: 1.46 MB / 1.229 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/0.592, allocations: 382.3 kB / 1.23 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.5923, allocations: 20 kB / 1.23 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/0.5931, allocations: 59.92 kB / 1.23 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.5933, allocations: 72.23 kB / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.5934, allocations: 35.91 kB / 1.23 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002045/0.5954, allocations: 1.399 MB / 1.231 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5954, allocations: 3.938 kB / 1.231 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002496/0.5979, allocations: 0.9813 MB / 1.232 GB, free: 440 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 2 (heaPum.hys.y,heaPum.eff.hys.y) * Number of discrete states: 2 (heaPum.eff.hys.y,heaPum.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.001684/0.5996, allocations: 0.7949 MB / 1.233 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003056/0.6027, allocations: 1.286 MB / 1.234 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6027, allocations: 0 / 1.234 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/0.6036, allocations: 411.9 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/0.6079, allocations: 0.9336 MB / 1.235 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.6139, allocations: 3.614 MB / 1.239 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.6152, allocations: 1.518 MB / 1.24 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001713/0.6169, allocations: 431.7 kB / 1.241 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.6173, allocations: 159.4 kB / 1.241 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/0.6173, allocations: 0 / 1.241 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of Templates: time 0.5621/1.179, allocations: 37.45 MB / 1.278 GB, free: 165 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe 2>&1)