Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009997/0.0009997, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.008249/0.008249, allocations: 180.5 kB / 16.26 MB, free: 6.605 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 13.77 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.389, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05482/0.4438, allocations: 56.43 MB / 1.129 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.4612, allocations: 11.86 MB / 1.141 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.4635, allocations: 47.69 kB / 1.141 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.4669, allocations: 1.121 MB / 1.142 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006372/0.4733, allocations: 1.96 MB / 1.144 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.4777, allocations: 1.416 MB / 1.145 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006589/0.4843, allocations: 4.944 MB / 1.15 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.4864, allocations: 1.092 MB / 1.151 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.4894, allocations: 1.182 MB / 1.152 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.4915, allocations: 1.147 MB / 1.153 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.4917, allocations: 56 kB / 1.153 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.4951, allocations: 1.505 MB / 1.155 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005144/0.4956, allocations: 0.4902 MB / 1.155 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.4968, allocations: 0.9765 MB / 1.156 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004919/0.5018, allocations: 3.29 MB / 1.16 GB, free: 15.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5018, allocations: 4 kB / 1.16 GB, free: 15.7 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5018, allocations: 0 / 1.16 GB, free: 15.7 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.353e-05/0.5019, allocations: 4 kB / 1.16 GB, free: 15.7 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.004226/0.5061, allocations: 2.318 MB / 1.162 GB, free: 13.29 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5062, allocations: 8.031 kB / 1.162 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.5067, allocations: 250 kB / 1.162 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.51, allocations: 1.91 MB / 1.164 GB, free: 11.06 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.5101, allocations: 74 kB / 1.164 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.5102, allocations: 92 kB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.5121, allocations: 1.027 MB / 1.165 GB, free: 9.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.5122, allocations: 7.938 kB / 1.165 GB, free: 9.824 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-05/0.5123, allocations: 43.98 kB / 1.165 GB, free: 9.781 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.5123, allocations: 27.98 kB / 1.165 GB, free: 9.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.5136, allocations: 0.7377 MB / 1.166 GB, free: 9.016 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.007615/0.5213, allocations: 4.772 MB / 1.171 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.5221, allocations: 465 kB / 1.171 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.5226, allocations: 318.4 kB / 1.171 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008011/0.5234, allocations: 0.8239 MB / 1.172 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006605/0.5241, allocations: 417.8 kB / 1.173 GB, free: 1.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 3.166e-06/0.5241, allocations: 0 / 1.173 GB, free: 1.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.005473/0.5296, allocations: 2.568 MB / 1.175 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.5297, allocations: 123.3 kB / 1.175 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.5336, allocations: 2.736 MB / 1.178 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.5338, allocations: 41.7 kB / 1.178 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008647/0.5346, allocations: 0.9071 MB / 1.179 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.5349, allocations: 213.4 kB / 1.179 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.535, allocations: 77.67 kB / 1.179 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5351, allocations: 334 kB / 1.179 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.5356, allocations: 261.9 kB / 1.18 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.5362, allocations: 494.2 kB / 1.18 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5373, allocations: 0.7966 MB / 1.181 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5373, allocations: 4 kB / 1.181 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00199/0.5393, allocations: 1.136 MB / 1.182 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.5395, allocations: 281.8 kB / 1.182 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.5396, allocations: 4 kB / 1.182 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.5401, allocations: 113.6 kB / 1.182 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.5405, allocations: 139.8 kB / 1.182 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.5425, allocations: 2.184 MB / 1.185 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.5439, allocations: 95.88 kB / 1.185 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.544, allocations: 31.94 kB / 1.185 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.544, allocations: 7.938 kB / 1.185 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.5456, allocations: 0.9615 MB / 1.186 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5456, allocations: 12.09 kB / 1.186 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003523/0.546, allocations: 105.7 kB / 1.186 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.5464, allocations: 127.8 kB / 1.186 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.5483, allocations: 2.195 MB / 1.188 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.5497, allocations: 98.77 kB / 1.188 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/0.5497, allocations: 39.98 kB / 1.188 GB, free: 0.9492 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.001195/0.551, allocations: 0.6842 MB / 1.189 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.5513, allocations: 201.5 kB / 1.189 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.5534, allocations: 1.171 MB / 1.19 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5534, allocations: 8 kB / 1.19 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5534, allocations: 4 kB / 1.19 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.5547, allocations: 0.9184 MB / 1.191 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.559, allocations: 2.583 MB / 1.194 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5591, allocations: 0 / 1.194 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.5595, allocations: 83.89 kB / 1.194 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.5599, allocations: 117.7 kB / 1.194 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.56, allocations: 23.98 kB / 1.194 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.5618, allocations: 2.184 MB / 1.196 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5619, allocations: 0 / 1.196 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.5642, allocations: 1.522 MB / 1.197 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009001/0.5651, allocations: 438.3 kB / 1.198 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.5654, allocations: 16.12 kB / 1.198 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008998/0.5663, allocations: 75.89 kB / 1.198 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5664, allocations: 48.33 kB / 1.198 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.5665, allocations: 31.97 kB / 1.198 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002957/0.5694, allocations: 2.008 MB / 1.2 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5694, allocations: 0 / 1.2 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002754/0.5722, allocations: 0.8006 MB / 1.201 GB, free: 3.586 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.001857/0.5741, allocations: 0.7642 MB / 1.202 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002764/0.5769, allocations: 1.715 MB / 1.203 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5769, allocations: 0 / 1.203 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.5777, allocations: 0.6209 MB / 1.204 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004853/0.5826, allocations: 0.7741 MB / 1.205 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.5889, allocations: 4.098 MB / 1.209 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.5901, allocations: 1.45 MB / 1.21 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001568/0.5917, allocations: 370.2 kB / 1.21 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.592, allocations: 127.4 kB / 1.21 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of SimCode: time 1.233e-06/0.592, allocations: 0 / 1.21 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of Templates: time 0.06387/0.6559, allocations: 35.09 MB / 1.245 GB, free: 6.859 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)