Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 180.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.2 MB / 0.626 GB, free: 7.109 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 94.89 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.319e-05/1.322e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6728, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.48/5.153, allocations: 2.073 GB / 3.046 GB, free: 57.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/5.153, allocations: 87.95 kB / 3.046 GB, free: 57.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9246/6.078, allocations: 167.9 MB / 3.21 GB, free: 273.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/6.078, allocations: 4 kB / 3.21 GB, free: 273.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.581e-05/6.078, allocations: 13.5 kB / 3.21 GB, free: 273.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00151/6.08, allocations: 0.7359 MB / 3.211 GB, free: 272.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/6.08, allocations: 12.03 kB / 3.211 GB, free: 272.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/6.081, allocations: 147.2 kB / 3.211 GB, free: 272.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/6.082, allocations: 0.501 MB / 3.211 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/6.082, allocations: 8 kB / 3.211 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/6.082, allocations: 20 kB / 3.211 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004286/6.083, allocations: 193.1 kB / 3.211 GB, free: 272 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/6.083, allocations: 278.5 kB / 3.212 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/6.083, allocations: 0 / 3.212 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/6.083, allocations: 0 / 3.212 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/6.083, allocations: 16.56 kB / 3.212 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/6.085, allocations: 1.395 MB / 3.213 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/6.086, allocations: 202.9 kB / 3.213 GB, free: 270 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/6.086, allocations: 106.8 kB / 3.213 GB, free: 269.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/6.086, allocations: 0 / 3.213 GB, free: 269.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/6.086, allocations: 157.6 kB / 3.214 GB, free: 269.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/6.086, allocations: 0 / 3.214 GB, free: 269.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.00253/6.089, allocations: 0.9894 MB / 3.214 GB, free: 268.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/6.089, allocations: 55.41 kB / 3.215 GB, free: 268.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/6.089, allocations: 385.2 kB / 3.215 GB, free: 268.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/6.089, allocations: 25.7 kB / 3.215 GB, free: 268.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/6.089, allocations: 236.5 kB / 3.215 GB, free: 268 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/6.089, allocations: 102.4 kB / 3.215 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/6.089, allocations: 0 / 3.215 GB, free: 267.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/6.09, allocations: 362.7 kB / 3.216 GB, free: 267.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/6.09, allocations: 120.9 kB / 3.216 GB, free: 267.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/6.09, allocations: 189.5 kB / 3.216 GB, free: 267.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/6.09, allocations: 159.9 kB / 3.216 GB, free: 267 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/6.09, allocations: 0 / 3.216 GB, free: 267 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008521/6.091, allocations: 489 kB / 3.217 GB, free: 266.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/6.091, allocations: 4 kB / 3.217 GB, free: 266.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/6.091, allocations: 7.938 kB / 3.217 GB, free: 266.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/6.091, allocations: 84.95 kB / 3.217 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/6.092, allocations: 67.91 kB / 3.217 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/6.093, allocations: 1.683 MB / 3.218 GB, free: 264.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/6.094, allocations: 19.95 kB / 3.218 GB, free: 264.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/6.094, allocations: 16.12 kB / 3.218 GB, free: 264.5 MB / 0.948 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/6.094, allocations: 126.1 kB / 3.218 GB, free: 264.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/6.094, allocations: 43.53 kB / 3.219 GB, free: 264.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/6.094, allocations: 387.2 kB / 3.219 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/6.095, allocations: 11.94 kB / 3.219 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/6.095, allocations: 0 / 3.219 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/6.095, allocations: 0 / 3.219 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/6.096, allocations: 0.958 MB / 3.22 GB, free: 263 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/6.096, allocations: 4 kB / 3.22 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/6.096, allocations: 59.91 kB / 3.22 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/6.097, allocations: 108.7 kB / 3.22 GB, free: 262.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/6.097, allocations: 8 kB / 3.22 GB, free: 262.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/6.098, allocations: 1.658 MB / 3.222 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/6.098, allocations: 128 / 3.222 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/6.099, allocations: 0.5955 MB / 3.222 GB, free: 260.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/6.099, allocations: 160.4 kB / 3.222 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/6.099, allocations: 0 / 3.222 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/6.099, allocations: 11.98 kB / 3.222 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/6.099, allocations: 23.97 kB / 3.222 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/6.099, allocations: 12 kB / 3.222 GB, free: 260.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002719/6.1, allocations: 278.9 kB / 3.223 GB, free: 259.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/6.1, allocations: 4 kB / 3.223 GB, free: 259.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008033/6.101, allocations: 179.9 kB / 3.223 GB, free: 259.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/6.103, allocations: 1.055 MB / 3.224 GB, free: 258.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008908/6.104, allocations: 433.4 kB / 3.224 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/6.104, allocations: 0 / 3.224 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004614/6.104, allocations: 269.7 kB / 3.225 GB, free: 258.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/6.105, allocations: 202.8 kB / 3.225 GB, free: 257.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/6.107, allocations: 0.7574 MB / 3.225 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/6.107, allocations: 0.8581 MB / 3.226 GB, free: 256.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000487/6.108, allocations: 80.33 kB / 3.226 GB, free: 256.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/6.108, allocations: 35.44 kB / 3.226 GB, free: 256.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.72e-07/6.108, allocations: 4 kB / 3.226 GB, free: 256.1 MB / 0.948 GB Notification: Performance of Templates: time 0.01818/6.126, allocations: 11.78 MB / 3.238 GB, free: 244.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)