Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009481/0.000948, allocations: 172.9 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 0.5785 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007216/0.0007213, allocations: 90.81 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 12.06 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 106.3 MB / 0.9012 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.966/4.125, allocations: 2.191 GB / 3.092 GB, free: 29.28 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/4.125, allocations: 88.75 kB / 3.092 GB, free: 29.19 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7205/4.846, allocations: 165.8 MB / 3.254 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.425e-06/4.846, allocations: 4 kB / 3.254 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.278e-05/4.846, allocations: 12 kB / 3.254 GB, free: 225.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002029/4.848, allocations: 0.8076 MB / 3.255 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/4.848, allocations: 8.031 kB / 3.255 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/4.849, allocations: 160.1 kB / 3.255 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/4.85, allocations: 0.5069 MB / 3.255 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/4.85, allocations: 28.59 kB / 3.255 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/4.85, allocations: 39.94 kB / 3.255 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/4.85, allocations: 324.8 kB / 3.256 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/4.851, allocations: 4 kB / 3.256 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/4.851, allocations: 8 kB / 3.256 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/4.851, allocations: 12.56 kB / 3.256 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/4.851, allocations: 222.1 kB / 3.256 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/4.853, allocations: 1.463 MB / 3.257 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/4.853, allocations: 237.9 kB / 3.258 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/4.853, allocations: 105.7 kB / 3.258 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/4.853, allocations: 0 / 3.258 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/4.854, allocations: 171.2 kB / 3.258 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 3.677e-06/4.854, allocations: 0 / 3.258 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.002638/4.856, allocations: 1.15 MB / 3.259 GB, free: 220 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/4.856, allocations: 55.41 kB / 3.259 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/4.857, allocations: 461.8 kB / 3.259 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/4.857, allocations: 29.7 kB / 3.259 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/4.857, allocations: 240.2 kB / 3.26 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/4.857, allocations: 106.5 kB / 3.26 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/4.857, allocations: 12 kB / 3.26 GB, free: 219 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/4.857, allocations: 354.7 kB / 3.26 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/4.857, allocations: 136.8 kB / 3.26 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/4.858, allocations: 202.2 kB / 3.26 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/4.858, allocations: 325.3 kB / 3.261 GB, free: 218 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/4.858, allocations: 3.984 kB / 3.261 GB, free: 218 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008474/4.859, allocations: 0.4896 MB / 3.261 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/4.859, allocations: 11.94 kB / 3.261 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/4.859, allocations: 3.938 kB / 3.261 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/4.859, allocations: 80.8 kB / 3.261 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/4.86, allocations: 76.03 kB / 3.261 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/4.861, allocations: 1.776 MB / 3.263 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/4.861, allocations: 27.98 kB / 3.263 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/4.861, allocations: 19.98 kB / 3.263 GB, free: 215.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/4.862, allocations: 194.1 kB / 3.263 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/4.862, allocations: 47.44 kB / 3.263 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/4.863, allocations: 424.3 kB / 3.264 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/4.863, allocations: 4 kB / 3.264 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/4.863, allocations: 0 / 3.264 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/4.863, allocations: 3.984 kB / 3.264 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/4.864, allocations: 1.032 MB / 3.265 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/4.864, allocations: 3.938 kB / 3.265 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/4.864, allocations: 71.89 kB / 3.265 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/4.865, allocations: 76.73 kB / 3.265 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/4.865, allocations: 16.14 kB / 3.265 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/4.866, allocations: 1.554 MB / 3.266 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/4.866, allocations: 4 kB / 3.266 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/4.867, allocations: 0.5993 MB / 3.267 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/4.867, allocations: 164.6 kB / 3.267 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/4.867, allocations: 12 kB / 3.267 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/4.867, allocations: 15.98 kB / 3.267 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/4.867, allocations: 19.91 kB / 3.267 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/4.867, allocations: 15.98 kB / 3.267 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002955/4.868, allocations: 307.1 kB / 3.268 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/4.868, allocations: 0 / 3.268 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007456/4.868, allocations: 192 kB / 3.268 GB, free: 210.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/4.87, allocations: 1.048 MB / 3.269 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008557/4.871, allocations: 466.5 kB / 3.269 GB, free: 209 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/4.871, allocations: 0 / 3.269 GB, free: 209 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/4.871, allocations: 246.6 kB / 3.269 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/4.872, allocations: 230.5 kB / 3.27 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/4.874, allocations: 1.291 MB / 3.271 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/4.874, allocations: 0.8581 MB / 3.272 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003835/4.875, allocations: 88.27 kB / 3.272 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/4.875, allocations: 39.42 kB / 3.272 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/4.875, allocations: 0 / 3.272 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.0227/4.897, allocations: 17.66 MB / 3.289 GB, free: 188.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)