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.0009968/0.0009968, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009215/0.009215, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 13.09 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3893, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05693/0.4463, allocations: 56.43 MB / 1.129 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.4656, allocations: 11.84 MB / 1.141 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.4685, allocations: 51.69 kB / 1.141 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.4722, allocations: 1.117 MB / 1.142 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006665/0.4789, allocations: 1.967 MB / 1.144 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005077/0.484, allocations: 1.421 MB / 1.145 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007205/0.4912, allocations: 4.941 MB / 1.15 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.4937, allocations: 1.096 MB / 1.151 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.4971, allocations: 1.186 MB / 1.152 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.4994, allocations: 1.143 MB / 1.153 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.4999, allocations: 59.94 kB / 1.153 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.504, allocations: 1.505 MB / 1.155 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008083/0.5048, allocations: 498 kB / 1.155 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.507, allocations: 0.9882 MB / 1.156 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.5134, allocations: 3.282 MB / 1.16 GB, free: 15.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5135, allocations: 0 / 1.16 GB, free: 15.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.036e-06/0.5135, allocations: 4 kB / 1.16 GB, free: 15.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001236/0.5136, allocations: 0 / 1.16 GB, free: 15.77 MB / 0.92 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.005179/0.5188, allocations: 2.318 MB / 1.162 GB, free: 13.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5189, allocations: 8.031 kB / 1.162 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.5198, allocations: 246 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.5234, allocations: 1.921 MB / 1.164 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.5235, allocations: 70 kB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.5237, allocations: 100 kB / 1.164 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.5257, allocations: 1.023 MB / 1.165 GB, free: 9.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.5258, allocations: 0 / 1.165 GB, free: 9.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.5259, allocations: 36 kB / 1.165 GB, free: 9.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.5259, allocations: 28 kB / 1.165 GB, free: 9.828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.5272, allocations: 0.7416 MB / 1.166 GB, free: 9.086 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.007637/0.5349, allocations: 4.772 MB / 1.171 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.5358, allocations: 457 kB / 1.171 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.5363, allocations: 322.4 kB / 1.171 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.537, allocations: 0.8278 MB / 1.172 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00068/0.5377, allocations: 414.3 kB / 1.173 GB, free: 1.879 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 2.775e-06/0.5377, allocations: 0 / 1.173 GB, free: 1.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.005546/0.5432, allocations: 2.56 MB / 1.175 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.5433, allocations: 123.3 kB / 1.175 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/0.5478, allocations: 2.736 MB / 1.178 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.548, allocations: 45.7 kB / 1.178 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/0.5489, allocations: 0.9071 MB / 1.179 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.5492, allocations: 216.9 kB / 1.179 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.5493, allocations: 65.69 kB / 1.179 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5494, allocations: 341.9 kB / 1.179 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.5499, allocations: 261.9 kB / 1.18 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.5505, allocations: 482.3 kB / 1.18 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.5516, allocations: 0.8043 MB / 1.181 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5517, allocations: 3.984 kB / 1.181 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002199/0.5539, allocations: 1.136 MB / 1.182 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.5541, allocations: 284.3 kB / 1.182 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5541, allocations: 4 kB / 1.182 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/0.5546, allocations: 121.6 kB / 1.182 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.5551, allocations: 131.8 kB / 1.182 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.5571, allocations: 2.188 MB / 1.185 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.5586, allocations: 90.73 kB / 1.185 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.5587, allocations: 43.92 kB / 1.185 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.5587, allocations: 7.938 kB / 1.185 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001671/0.5604, allocations: 0.9692 MB / 1.186 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.5604, allocations: 4.078 kB / 1.186 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.5607, allocations: 109.6 kB / 1.186 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.5612, allocations: 135.8 kB / 1.186 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.5631, allocations: 2.192 MB / 1.188 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5645, allocations: 87.83 kB / 1.188 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.5645, allocations: 35.98 kB / 1.188 GB, free: 1.023 MB / 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.001149/0.5657, allocations: 0.6893 MB / 1.189 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.5662, allocations: 205.5 kB / 1.189 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.5684, allocations: 1.163 MB / 1.19 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.5684, allocations: 15.97 kB / 1.19 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5685, allocations: 0 / 1.19 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/0.5698, allocations: 0.9184 MB / 1.191 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.5743, allocations: 2.571 MB / 1.194 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5743, allocations: 0 / 1.194 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.5748, allocations: 91.88 kB / 1.194 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/0.5752, allocations: 117.7 kB / 1.194 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.5752, allocations: 19.98 kB / 1.194 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.5771, allocations: 2.184 MB / 1.196 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5771, allocations: 0 / 1.196 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.5794, allocations: 1.526 MB / 1.197 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/0.5804, allocations: 438.3 kB / 1.198 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/0.5809, allocations: 23.98 kB / 1.198 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.582, allocations: 71.91 kB / 1.198 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5821, allocations: 44.31 kB / 1.198 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.5822, allocations: 31.98 kB / 1.198 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003248/0.5855, allocations: 2.008 MB / 1.2 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5855, allocations: 3.938 kB / 1.2 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002835/0.5883, allocations: 0.8045 MB / 1.201 GB, free: 3.652 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.001999/0.5903, allocations: 0.7502 MB / 1.202 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002868/0.5932, allocations: 1.714 MB / 1.203 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.5932, allocations: 0 / 1.203 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/0.5941, allocations: 0.6257 MB / 1.204 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005126/0.5993, allocations: 0.7814 MB / 1.205 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.6062, allocations: 4.094 MB / 1.209 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.6077, allocations: 1.45 MB / 1.21 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001795/0.6095, allocations: 370.2 kB / 1.21 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.61, allocations: 127.4 kB / 1.21 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of SimCode: time 1.203e-06/0.61, allocations: 0 / 1.21 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.06317/0.6732, allocations: 35.09 MB / 1.245 GB, free: 6.938 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)