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.652/1.652, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001197/0.001197, allocations: 175.8 kB / 371.6 MB, free: 3.305 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.68/1.68, allocations: 205.2 MB / 0.6309 GB, free: 11.72 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.000881/0.000881, allocations: 95.33 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.314e-05, allocations: 3.984 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2762, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.622/5.899, allocations: 2.073 GB / 3.053 GB, free: 168.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.899, allocations: 87.95 kB / 3.053 GB, free: 168.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9708/6.87, allocations: 169.9 MB / 3.219 GB, free: 229.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.002e-06/6.87, allocations: 0 / 3.219 GB, free: 229.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.91e-05/6.87, allocations: 11.59 kB / 3.219 GB, free: 229.6 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.001191/6.871, allocations: 0.732 MB / 3.22 GB, free: 229.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/6.871, allocations: 9.625 kB / 3.22 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/6.872, allocations: 146.7 kB / 3.22 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009033/6.873, allocations: 0.5047 MB / 3.22 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/6.873, allocations: 25.44 kB / 3.22 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/6.873, allocations: 29.95 kB / 3.22 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/6.874, allocations: 310.7 kB / 3.221 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/6.874, allocations: 1.75 kB / 3.221 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/6.874, allocations: 14.14 kB / 3.221 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/6.874, allocations: 13.58 kB / 3.221 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/6.874, allocations: 209.4 kB / 3.221 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/6.876, allocations: 1.457 MB / 3.222 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/6.877, allocations: 222.2 kB / 3.223 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/6.877, allocations: 111.5 kB / 3.223 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/6.877, allocations: 6.094 kB / 3.223 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/6.877, allocations: 156 kB / 3.223 GB, free: 228 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/6.877, allocations: 0 / 3.223 GB, free: 228 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.002834/6.88, allocations: 1.047 MB / 3.224 GB, free: 227.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/6.88, allocations: 57.77 kB / 3.224 GB, free: 227.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/6.881, allocations: 407.9 kB / 3.224 GB, free: 227.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/6.881, allocations: 36.89 kB / 3.224 GB, free: 227.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/6.881, allocations: 239.2 kB / 3.225 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/6.881, allocations: 103 kB / 3.225 GB, free: 227.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/6.881, allocations: 8.781 kB / 3.225 GB, free: 227.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001262/6.881, allocations: 354.2 kB / 3.225 GB, free: 227 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/6.882, allocations: 138.6 kB / 3.225 GB, free: 227 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/6.882, allocations: 198.8 kB / 3.225 GB, free: 227 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/6.882, allocations: 163.4 kB / 3.225 GB, free: 227 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/6.882, allocations: 1.344 kB / 3.225 GB, free: 227 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001061/6.883, allocations: 0.5006 MB / 3.226 GB, free: 226.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/6.883, allocations: 6 kB / 3.226 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/6.883, allocations: 1 kB / 3.226 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/6.884, allocations: 84.14 kB / 3.226 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/6.884, allocations: 72.69 kB / 3.226 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/6.886, allocations: 1.718 MB / 3.228 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/6.886, allocations: 21.98 kB / 3.228 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/6.886, allocations: 16.94 kB / 3.228 GB, free: 225.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.0001133/6.886, allocations: 135.8 kB / 3.228 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/6.887, allocations: 46.84 kB / 3.228 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009271/6.887, allocations: 417.4 kB / 3.228 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/6.887, allocations: 5.172 kB / 3.228 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/6.887, allocations: 1.406 kB / 3.228 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/6.887, allocations: 1.922 kB / 3.228 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/6.889, allocations: 1.028 MB / 3.229 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/6.889, allocations: 1.125 kB / 3.229 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/6.89, allocations: 56.98 kB / 3.229 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/6.89, allocations: 112.8 kB / 3.23 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/6.89, allocations: 12.19 kB / 3.23 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/6.892, allocations: 1.721 MB / 3.231 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/6.892, allocations: 9.891 kB / 3.231 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/6.893, allocations: 0.6093 MB / 3.232 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/6.893, allocations: 154.9 kB / 3.232 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/6.893, allocations: 11.62 kB / 3.232 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/6.894, allocations: 19.62 kB / 3.232 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/6.894, allocations: 21.45 kB / 3.232 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/6.894, allocations: 12.95 kB / 3.232 GB, free: 223.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004829/6.894, allocations: 299.6 kB / 3.232 GB, free: 223.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.894, allocations: 0 / 3.232 GB, free: 223.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001041/6.895, allocations: 196.9 kB / 3.233 GB, free: 223.3 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.00198/6.897, allocations: 0.9939 MB / 3.233 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009651/6.898, allocations: 437.7 kB / 3.234 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/6.898, allocations: 0.7812 kB / 3.234 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005134/6.899, allocations: 277.7 kB / 3.234 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/6.9, allocations: 221.5 kB / 3.234 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/6.901, allocations: 0.7703 MB / 3.235 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/6.902, allocations: 0.864 MB / 3.236 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003959/6.902, allocations: 93.48 kB / 3.236 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/6.902, allocations: 36.77 kB / 3.236 GB, free: 221.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/6.902, allocations: 3.062 kB / 3.236 GB, free: 221.9 MB / 0.948 GB Notification: Performance of Templates: time 0.0276/6.93, allocations: 19.26 MB / 3.255 GB, free: 221.3 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)