Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable.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.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00126/0.00126, allocations: 191.8 kB / 16.13 MB, free: 6.668 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 61.17 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3737, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05859/0.4324, allocations: 57.5 MB / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.4512, allocations: 12.01 MB / 1.135 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.4541, allocations: 47.75 kB / 1.135 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004165/0.4584, allocations: 1.117 MB / 1.137 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007111/0.4655, allocations: 1.964 MB / 1.138 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005139/0.4707, allocations: 1.423 MB / 1.14 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007536/0.4782, allocations: 4.929 MB / 1.145 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.4809, allocations: 1.123 MB / 1.146 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.4845, allocations: 1.241 MB / 1.147 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.4871, allocations: 1.179 MB / 1.148 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000502/0.4876, allocations: 76 kB / 1.148 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.4918, allocations: 1.528 MB / 1.15 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009735/0.4928, allocations: 0.5176 MB / 1.15 GB, free: 6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.4958, allocations: 0.9864 MB / 1.151 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008196/0.5041, allocations: 3.349 MB / 1.154 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5041, allocations: 0 / 1.154 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5041, allocations: 0 / 1.154 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001328/0.5042, allocations: 0 / 1.154 GB, free: 1.648 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.007118/0.5114, allocations: 2.715 MB / 1.157 GB, free: 14.85 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5114, allocations: 8.031 kB / 1.157 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009079/0.5123, allocations: 246 kB / 1.157 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.5161, allocations: 1.921 MB / 1.159 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.5162, allocations: 77.98 kB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.5164, allocations: 92 kB / 1.159 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.5184, allocations: 1.031 MB / 1.16 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.5184, allocations: 0 / 1.16 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.77e-05/0.5185, allocations: 40 kB / 1.16 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.5186, allocations: 24 kB / 1.16 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.52, allocations: 0.7378 MB / 1.161 GB, free: 10.57 MB / 0.92 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.007099/0.5271, allocations: 4.78 MB / 1.166 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.528, allocations: 452.2 kB / 1.166 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.5285, allocations: 324.5 kB / 1.167 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.5292, allocations: 0.8318 MB / 1.167 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007426/0.5299, allocations: 409.9 kB / 1.168 GB, free: 3.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 2.745e-06/0.53, allocations: 3.938 kB / 1.168 GB, free: 3.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.005554/0.5355, allocations: 2.556 MB / 1.17 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.5356, allocations: 119.4 kB / 1.17 GB, free: 0.543 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/0.5403, allocations: 2.74 MB / 1.173 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.5404, allocations: 37.7 kB / 1.173 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008999/0.5413, allocations: 0.911 MB / 1.174 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.5415, allocations: 212.9 kB / 1.174 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.5418, allocations: 166.5 kB / 1.174 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.542, allocations: 337.9 kB / 1.175 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.5425, allocations: 268.7 kB / 1.175 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007246/0.5432, allocations: 494.3 kB / 1.175 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5443, allocations: 0.7927 MB / 1.176 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5443, allocations: 4 kB / 1.176 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00206/0.5464, allocations: 1.136 MB / 1.177 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.5465, allocations: 71.39 kB / 1.177 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5465, allocations: 4 kB / 1.177 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.547, allocations: 122.1 kB / 1.177 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.5475, allocations: 135.8 kB / 1.178 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.5496, allocations: 2.184 MB / 1.18 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.5509, allocations: 85.78 kB / 1.18 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/0.551, allocations: 39.98 kB / 1.18 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001344/0.5523, allocations: 0.7245 MB / 1.181 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006961/0.5531, allocations: 489.8 kB / 1.181 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001145/0.5542, allocations: 0.7965 MB / 1.182 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.623e-06/0.5542, allocations: 0 / 1.182 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.002125/0.5564, allocations: 1.125 MB / 1.183 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.5564, allocations: 75.39 kB / 1.183 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.5565, allocations: 8.125 kB / 1.183 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.5569, allocations: 121.6 kB / 1.183 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.5573, allocations: 127.8 kB / 1.183 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.5593, allocations: 2.199 MB / 1.185 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.5607, allocations: 103.8 kB / 1.185 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.5608, allocations: 39.98 kB / 1.185 GB, free: 248 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.5612, allocations: 293.7 kB / 1.186 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.5617, allocations: 201.6 kB / 1.186 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.5638, allocations: 1.171 MB / 1.187 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5638, allocations: 8 kB / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5638, allocations: 128 / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001351/0.5652, allocations: 0.93 MB / 1.188 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/0.5695, allocations: 2.575 MB / 1.191 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5696, allocations: 4 kB / 1.191 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.57, allocations: 83.89 kB / 1.191 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000426/0.5705, allocations: 117.8 kB / 1.191 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.5705, allocations: 23.98 kB / 1.191 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.5727, allocations: 2.184 MB / 1.193 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5728, allocations: 0 / 1.193 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.5752, allocations: 1.526 MB / 1.194 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009328/0.5762, allocations: 402.4 kB / 1.195 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000472/0.5767, allocations: 19.94 kB / 1.195 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5778, allocations: 72.11 kB / 1.195 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5779, allocations: 52.31 kB / 1.195 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.578, allocations: 27.98 kB / 1.195 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003315/0.5813, allocations: 2.008 MB / 1.197 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5813, allocations: 0 / 1.197 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002812/0.5841, allocations: 0.8045 MB / 1.198 GB, free: 3.305 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 12 (TIn.nextEvent,TIn.last,TIn.nextEventScaled,TIn.b,TIn.a,$whenCondition2,y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002062/0.5862, allocations: 0.7494 MB / 1.198 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002878/0.5891, allocations: 1.707 MB / 1.2 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5891, allocations: 0 / 1.2 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.59, allocations: 0.6209 MB / 1.201 GB, free: 248 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/0.5941, allocations: 0.7753 MB / 1.201 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/0.6004, allocations: 4.046 MB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.6018, allocations: 1.454 MB / 1.207 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001631/0.6035, allocations: 354.2 kB / 1.207 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.6039, allocations: 131.4 kB / 1.207 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of SimCode: time 1.182e-06/0.6039, allocations: 0 / 1.207 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of Templates: time 0.06207/0.666, allocations: 34.69 MB / 1.241 GB, free: 7.059 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)