Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.769/1.769, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 176.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008191/0.0008192, allocations: 101.2 kB / 0.7808 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004227, allocations: 16.81 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8514/0.8518, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.019/5.871, allocations: 1.91 GB / 2.936 GB, free: 286.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005016/5.871, allocations: 94.61 kB / 2.936 GB, free: 286.3 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.4019/6.273, allocations: 170.4 MB / 3.103 GB, free: 153.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.016e-06/6.273, allocations: 0 / 3.103 GB, free: 153.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.911e-05/6.274, allocations: 15.94 kB / 3.103 GB, free: 153.8 MB / 0.9792 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.002402/6.276, allocations: 0.8312 MB / 3.104 GB, free: 152.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/6.276, allocations: 8.031 kB / 3.104 GB, free: 152.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/6.277, allocations: 148.1 kB / 3.104 GB, free: 152.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/6.278, allocations: 0.518 MB / 3.104 GB, free: 152.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/6.279, allocations: 20.94 kB / 3.104 GB, free: 152.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/6.279, allocations: 32.38 kB / 3.104 GB, free: 152.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/6.279, allocations: 319.8 kB / 3.105 GB, free: 151.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/6.279, allocations: 3.906 kB / 3.105 GB, free: 151.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/6.279, allocations: 16 kB / 3.105 GB, free: 151.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/6.279, allocations: 12.56 kB / 3.105 GB, free: 151.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/6.28, allocations: 218.1 kB / 3.105 GB, free: 151.6 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/6.282, allocations: 1.461 MB / 3.106 GB, free: 150 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/6.283, allocations: 226.8 kB / 3.106 GB, free: 149.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/6.283, allocations: 116.8 kB / 3.107 GB, free: 149.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/6.283, allocations: 0 / 3.107 GB, free: 149.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/6.283, allocations: 167.6 kB / 3.107 GB, free: 149.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/6.283, allocations: 0 / 3.107 GB, free: 149.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30): time 0.003049/6.286, allocations: 1.157 MB / 3.108 GB, free: 148.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/6.286, allocations: 55.41 kB / 3.108 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/6.287, allocations: 469.8 kB / 3.108 GB, free: 147.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/6.287, allocations: 29.7 kB / 3.108 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/6.287, allocations: 236.3 kB / 3.109 GB, free: 147.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/6.287, allocations: 110.4 kB / 3.109 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/6.287, allocations: 4 kB / 3.109 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/6.287, allocations: 354.8 kB / 3.109 GB, free: 147 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/6.288, allocations: 136.8 kB / 3.109 GB, free: 146.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/6.288, allocations: 210.3 kB / 3.109 GB, free: 146.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/6.288, allocations: 332.6 kB / 3.11 GB, free: 146.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/6.288, allocations: 0 / 3.11 GB, free: 146.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009551/6.289, allocations: 0.505 MB / 3.11 GB, free: 145.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/6.289, allocations: 8 kB / 3.11 GB, free: 145.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/6.289, allocations: 4 kB / 3.11 GB, free: 145.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/6.29, allocations: 76.8 kB / 3.11 GB, free: 145.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/6.29, allocations: 71.84 kB / 3.11 GB, free: 145.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/6.292, allocations: 1.764 MB / 3.112 GB, free: 143.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/6.292, allocations: 31.86 kB / 3.112 GB, free: 143.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/6.292, allocations: 15.94 kB / 3.112 GB, free: 143.7 MB / 0.9792 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.0002893/6.293, allocations: 202.8 kB / 3.112 GB, free: 143.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/6.293, allocations: 43.53 kB / 3.112 GB, free: 143.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008414/6.293, allocations: 427.9 kB / 3.113 GB, free: 143 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/6.293, allocations: 8.031 kB / 3.113 GB, free: 143 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/6.293, allocations: 8.125 kB / 3.113 GB, free: 143 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/6.294, allocations: 7.984 kB / 3.113 GB, free: 143 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/6.295, allocations: 1.016 MB / 3.114 GB, free: 141.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/6.295, allocations: 0 / 3.114 GB, free: 141.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/6.296, allocations: 79.92 kB / 3.114 GB, free: 141.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/6.296, allocations: 72.78 kB / 3.114 GB, free: 141.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/6.296, allocations: 12 kB / 3.114 GB, free: 141.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/6.297, allocations: 1.554 MB / 3.115 GB, free: 140.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.297, allocations: 3.984 kB / 3.115 GB, free: 140.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/6.298, allocations: 0.603 MB / 3.116 GB, free: 139.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/6.298, allocations: 152.5 kB / 3.116 GB, free: 139.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/6.298, allocations: 8 kB / 3.116 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/6.299, allocations: 19.98 kB / 3.116 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.597e-05/6.299, allocations: 23.97 kB / 3.116 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/6.299, allocations: 12 kB / 3.116 GB, free: 139.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003858/6.299, allocations: 311.1 kB / 3.117 GB, free: 138.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.51e-07/6.299, allocations: 0 / 3.117 GB, free: 138.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001023/6.3, allocations: 195.9 kB / 3.117 GB, free: 138.7 MB / 0.9792 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.002558/6.303, allocations: 1.066 MB / 3.118 GB, free: 137.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001085/6.304, allocations: 463.1 kB / 3.118 GB, free: 137.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/6.304, allocations: 8 kB / 3.118 GB, free: 137.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/6.304, allocations: 262.5 kB / 3.119 GB, free: 137.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/6.306, allocations: 221 kB / 3.119 GB, free: 136.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/6.308, allocations: 1.282 MB / 3.12 GB, free: 135.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/6.308, allocations: 0.8581 MB / 3.121 GB, free: 134.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004896/6.309, allocations: 88.31 kB / 3.121 GB, free: 134.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/6.309, allocations: 47.42 kB / 3.121 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of SimCode: time 9.12e-07/6.309, allocations: 0 / 3.121 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.02969/6.339, allocations: 17.71 MB / 3.138 GB, free: 116.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)