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.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001362/0.001362, allocations: 192.4 kB / 16.13 MB, free: 6.719 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.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 73.14 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3715, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05786/0.4294, allocations: 57.49 MB / 1.124 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.4479, allocations: 12.01 MB / 1.135 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.4507, allocations: 51.69 kB / 1.135 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003538/0.4543, allocations: 1.124 MB / 1.137 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005954/0.4602, allocations: 1.956 MB / 1.138 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004241/0.4645, allocations: 1.421 MB / 1.14 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006212/0.4707, allocations: 4.94 MB / 1.145 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.4729, allocations: 1.12 MB / 1.146 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.4759, allocations: 1.237 MB / 1.147 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.4782, allocations: 1.19 MB / 1.148 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004821/0.4787, allocations: 76 kB / 1.148 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.4827, allocations: 1.528 MB / 1.15 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008073/0.4835, allocations: 0.5137 MB / 1.15 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.4852, allocations: 0.9865 MB / 1.151 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005171/0.4903, allocations: 3.349 MB / 1.154 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4904, allocations: 0 / 1.154 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4904, allocations: 0 / 1.154 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.707e-05/0.4904, allocations: 0 / 1.154 GB, free: 1.633 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.004639/0.4951, allocations: 2.714 MB / 1.157 GB, free: 14.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4951, allocations: 15.97 kB / 1.157 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005921/0.4957, allocations: 246 kB / 1.157 GB, free: 14.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.4986, allocations: 1.91 MB / 1.159 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.4987, allocations: 74 kB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.4988, allocations: 99.98 kB / 1.159 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.5005, allocations: 1.023 MB / 1.16 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.5005, allocations: 0 / 1.16 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.5006, allocations: 44 kB / 1.16 GB, free: 11.32 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-05/0.5007, allocations: 31.94 kB / 1.16 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.5019, allocations: 0.7378 MB / 1.161 GB, free: 10.55 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.006214/0.5081, allocations: 4.772 MB / 1.166 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.5089, allocations: 459.9 kB / 1.166 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.5094, allocations: 323 kB / 1.167 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.51, allocations: 0.8199 MB / 1.167 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000639/0.5107, allocations: 417.9 kB / 1.168 GB, free: 3.348 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 2.756e-06/0.5107, allocations: 0 / 1.168 GB, free: 3.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.004977/0.5157, allocations: 2.564 MB / 1.17 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.5158, allocations: 119.4 kB / 1.17 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.5191, allocations: 2.736 MB / 1.173 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.5192, allocations: 41.7 kB / 1.173 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.52, allocations: 0.911 MB / 1.174 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.5202, allocations: 212.9 kB / 1.174 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.5205, allocations: 166.5 kB / 1.174 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5206, allocations: 337.9 kB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.521, allocations: 264.7 kB / 1.175 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/0.5217, allocations: 490.3 kB / 1.175 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5227, allocations: 0.7927 MB / 1.176 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5227, allocations: 0 / 1.176 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001852/0.5246, allocations: 1.14 MB / 1.177 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.5246, allocations: 71.39 kB / 1.177 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5247, allocations: 4 kB / 1.177 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/0.5251, allocations: 118 kB / 1.177 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.5256, allocations: 127.8 kB / 1.178 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.5275, allocations: 2.199 MB / 1.18 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5286, allocations: 87.92 kB / 1.18 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/0.5287, allocations: 39.92 kB / 1.18 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001149/0.5299, allocations: 0.7284 MB / 1.181 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005912/0.5305, allocations: 489.8 kB / 1.181 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001001/0.5315, allocations: 0.7888 MB / 1.182 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-06/0.5315, allocations: 4 kB / 1.182 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001788/0.5333, allocations: 1.129 MB / 1.183 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.5333, allocations: 67.39 kB / 1.183 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5334, allocations: 12.03 kB / 1.183 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.5338, allocations: 113.6 kB / 1.183 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.5342, allocations: 131.8 kB / 1.183 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.536, allocations: 2.191 MB / 1.185 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.5371, allocations: 103.9 kB / 1.185 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.5372, allocations: 39.98 kB / 1.185 GB, free: 240 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.0003597/0.5376, allocations: 300.5 kB / 1.186 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.538, allocations: 197.6 kB / 1.186 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.54, allocations: 1.175 MB / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.54, allocations: 8 kB / 1.187 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5401, allocations: 0 / 1.187 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.5414, allocations: 0.9223 MB / 1.188 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.5457, allocations: 2.575 MB / 1.191 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.5458, allocations: 4 kB / 1.191 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.5462, allocations: 91.81 kB / 1.191 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.5466, allocations: 109.8 kB / 1.191 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/0.5467, allocations: 27.97 kB / 1.191 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.5486, allocations: 2.188 MB / 1.193 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5486, allocations: 0 / 1.193 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.5513, allocations: 1.522 MB / 1.194 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.5526, allocations: 410.4 kB / 1.195 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006237/0.5532, allocations: 19.94 kB / 1.195 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.5547, allocations: 67.98 kB / 1.195 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.5549, allocations: 48.38 kB / 1.195 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.555, allocations: 27.98 kB / 1.195 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003962/0.5589, allocations: 2.008 MB / 1.197 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.559, allocations: 0 / 1.197 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003733/0.5627, allocations: 0.8045 MB / 1.198 GB, free: 3.293 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.002265/0.565, allocations: 0.7516 MB / 1.198 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.568, allocations: 1.699 MB / 1.2 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/0.568, allocations: 4 kB / 1.2 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009194/0.569, allocations: 0.6209 MB / 1.201 GB, free: 236 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/0.5734, allocations: 0.7835 MB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006599/0.58, allocations: 4.037 MB / 1.205 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.5816, allocations: 1.454 MB / 1.207 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001561/0.5832, allocations: 362.2 kB / 1.207 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.5836, allocations: 131.4 kB / 1.207 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/0.5837, allocations: 0 / 1.207 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.06288/0.6465, allocations: 34.7 MB / 1.241 GB, free: 7.043 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)