Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.522/2.522, allocations: 287.5 MB / 303.2 MB, free: 8.223 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.001949/0.001948, allocations: 182.1 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6305 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 102.3 kB / 0.7438 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006192/0.0006192, allocations: 16.08 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2072, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.481/6.688, allocations: 2.072 GB / 3.052 GB, free: 248.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/6.688, allocations: 91.95 kB / 3.052 GB, free: 248.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.528/7.216, allocations: 168.2 MB / 3.216 GB, free: 77.06 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.844e-06/7.217, allocations: 0 / 3.216 GB, free: 77.06 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.496e-05/7.217, allocations: 20 kB / 3.216 GB, free: 77.04 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.001854/7.218, allocations: 0.8111 MB / 3.217 GB, free: 76.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/7.219, allocations: 16.03 kB / 3.217 GB, free: 76.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/7.22, allocations: 144.2 kB / 3.217 GB, free: 76.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/7.221, allocations: 0.5256 MB / 3.217 GB, free: 75.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/7.221, allocations: 28.92 kB / 3.217 GB, free: 75.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/7.221, allocations: 28.38 kB / 3.217 GB, free: 75.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/7.222, allocations: 327.7 kB / 3.218 GB, free: 75.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/7.222, allocations: 0 / 3.218 GB, free: 75.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/7.222, allocations: 8 kB / 3.218 GB, free: 75.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/7.222, allocations: 12.56 kB / 3.218 GB, free: 75.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/7.223, allocations: 218.1 kB / 3.218 GB, free: 74.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/7.225, allocations: 1.459 MB / 3.219 GB, free: 73.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/7.226, allocations: 232.3 kB / 3.22 GB, free: 73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/7.226, allocations: 116.8 kB / 3.22 GB, free: 72.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/7.226, allocations: 0 / 3.22 GB, free: 72.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/7.227, allocations: 163.2 kB / 3.22 GB, free: 72.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.645e-06/7.227, allocations: 4 kB / 3.22 GB, free: 72.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.004456/7.231, allocations: 1.167 MB / 3.221 GB, free: 71.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/7.231, allocations: 55.41 kB / 3.221 GB, free: 71.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/7.232, allocations: 457.8 kB / 3.221 GB, free: 70.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/7.232, allocations: 33.7 kB / 3.221 GB, free: 70.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/7.232, allocations: 240.3 kB / 3.222 GB, free: 70.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/7.232, allocations: 102.5 kB / 3.222 GB, free: 70.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/7.232, allocations: 8 kB / 3.222 GB, free: 70.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/7.232, allocations: 354.8 kB / 3.222 GB, free: 70.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/7.233, allocations: 136.8 kB / 3.222 GB, free: 70.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/7.233, allocations: 206.3 kB / 3.222 GB, free: 69.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/7.234, allocations: 337.2 kB / 3.223 GB, free: 69.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/7.234, allocations: 0 / 3.223 GB, free: 69.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001479/7.235, allocations: 0.5013 MB / 3.223 GB, free: 69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/7.236, allocations: 4 kB / 3.223 GB, free: 69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/7.236, allocations: 7.984 kB / 3.223 GB, free: 68.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/7.236, allocations: 84.89 kB / 3.223 GB, free: 68.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/7.237, allocations: 75.84 kB / 3.223 GB, free: 68.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/7.239, allocations: 1.768 MB / 3.225 GB, free: 66.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/7.24, allocations: 20.05 kB / 3.225 GB, free: 66.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/7.24, allocations: 16 kB / 3.225 GB, free: 66.89 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 () * 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.0003798/7.24, allocations: 197.7 kB / 3.225 GB, free: 66.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/7.24, allocations: 51.44 kB / 3.225 GB, free: 66.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/7.242, allocations: 422.8 kB / 3.226 GB, free: 66.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/7.242, allocations: 4 kB / 3.226 GB, free: 66.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/7.242, allocations: 0 / 3.226 GB, free: 66.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/7.242, allocations: 7.984 kB / 3.226 GB, free: 66.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/7.244, allocations: 1.027 MB / 3.227 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/7.244, allocations: 0 / 3.227 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/7.245, allocations: 67.95 kB / 3.227 GB, free: 65.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/7.245, allocations: 80.77 kB / 3.227 GB, free: 64.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/7.245, allocations: 11.98 kB / 3.227 GB, free: 64.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/7.247, allocations: 1.562 MB / 3.229 GB, free: 63.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/7.247, allocations: 0 / 3.229 GB, free: 63.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/7.249, allocations: 0.5908 MB / 3.229 GB, free: 62.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/7.249, allocations: 156.6 kB / 3.229 GB, free: 62.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/7.249, allocations: 15.98 kB / 3.229 GB, free: 62.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/7.25, allocations: 19.84 kB / 3.229 GB, free: 62.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/7.25, allocations: 31.89 kB / 3.229 GB, free: 62.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/7.25, allocations: 11.94 kB / 3.229 GB, free: 62.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004897/7.25, allocations: 303.1 kB / 3.23 GB, free: 62.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/7.25, allocations: 4 kB / 3.23 GB, free: 62.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009961/7.251, allocations: 203.8 kB / 3.23 GB, free: 61.89 MB / 0.948 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.002134/7.253, allocations: 1.024 MB / 3.231 GB, free: 61.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001446/7.255, allocations: 467.3 kB / 3.231 GB, free: 60.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/7.255, allocations: 0 / 3.231 GB, free: 60.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/7.255, allocations: 258.5 kB / 3.232 GB, free: 60.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/7.257, allocations: 222.3 kB / 3.232 GB, free: 60.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/7.26, allocations: 1.267 MB / 3.233 GB, free: 58.78 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/7.26, allocations: 0.8581 MB / 3.234 GB, free: 57.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006006/7.261, allocations: 92.31 kB / 3.234 GB, free: 57.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/7.261, allocations: 35.44 kB / 3.234 GB, free: 57.77 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/7.261, allocations: 0 / 3.234 GB, free: 57.77 MB / 0.948 GB Notification: Performance of Templates: time 0.03843/7.299, allocations: 17.4 MB / 3.251 GB, free: 40.44 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)