Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.812/3.812, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.002373/0.002373, allocations: 172.4 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.935/3.935, allocations: 205.4 MB / 0.5772 GB, free: 21.15 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.00145/0.001449, allocations: 93.58 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007964/0.0007967, allocations: 13 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3247, allocations: 106.2 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.47/11.8, allocations: 2.19 GB / 3.09 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006283/11.8, allocations: 95.73 kB / 3.09 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.9513/12.75, allocations: 165.7 MB / 3.252 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.08e-06/12.75, allocations: 0 / 3.252 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001116/12.75, allocations: 11.94 kB / 3.252 GB, free: 181.1 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.003721/12.76, allocations: 0.8145 MB / 3.252 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/12.76, allocations: 12.03 kB / 3.252 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/12.76, allocations: 148.2 kB / 3.253 GB, free: 180 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/12.76, allocations: 0.4993 MB / 3.253 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/12.76, allocations: 28.64 kB / 3.253 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/12.76, allocations: 31.94 kB / 3.253 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/12.76, allocations: 332.8 kB / 3.253 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/12.76, allocations: 0 / 3.253 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.513e-05/12.76, allocations: 8 kB / 3.253 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/12.76, allocations: 12.56 kB / 3.253 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/12.76, allocations: 226.1 kB / 3.254 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005563/12.77, allocations: 1.463 MB / 3.255 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/12.77, allocations: 219.6 kB / 3.255 GB, free: 177 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/12.77, allocations: 112.8 kB / 3.255 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/12.77, allocations: 3.984 kB / 3.255 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007944/12.77, allocations: 167.2 kB / 3.256 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 5.59e-06/12.77, allocations: 0 / 3.256 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.007833/12.78, allocations: 1.151 MB / 3.257 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/12.78, allocations: 55.41 kB / 3.257 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/12.78, allocations: 461.8 kB / 3.257 GB, free: 175 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/12.78, allocations: 33.7 kB / 3.257 GB, free: 175 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/12.78, allocations: 236.2 kB / 3.257 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/12.78, allocations: 114.4 kB / 3.258 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/12.78, allocations: 8 kB / 3.258 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001539/12.78, allocations: 354.7 kB / 3.258 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/12.78, allocations: 140.8 kB / 3.258 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/12.78, allocations: 206.2 kB / 3.258 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/12.78, allocations: 167.5 kB / 3.258 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/12.78, allocations: 7.938 kB / 3.258 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002464/12.79, allocations: 497.6 kB / 3.259 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/12.79, allocations: 7.938 kB / 3.259 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/12.79, allocations: 4 kB / 3.259 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/12.79, allocations: 80.92 kB / 3.259 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/12.79, allocations: 71.91 kB / 3.259 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/12.79, allocations: 1.768 MB / 3.261 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/12.79, allocations: 31.95 kB / 3.261 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/12.79, allocations: 16 kB / 3.261 GB, free: 171.1 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.0006824/12.8, allocations: 193.8 kB / 3.261 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/12.8, allocations: 43.44 kB / 3.261 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/12.8, allocations: 422.8 kB / 3.261 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/12.8, allocations: 0 / 3.261 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/12.8, allocations: 4 kB / 3.261 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/12.8, allocations: 7.922 kB / 3.261 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004459/12.8, allocations: 1.028 MB / 3.262 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/12.8, allocations: 4 kB / 3.262 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/12.8, allocations: 75.89 kB / 3.263 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007813/12.8, allocations: 76.89 kB / 3.263 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/12.8, allocations: 15.98 kB / 3.263 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/12.81, allocations: 1.554 MB / 3.264 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/12.81, allocations: 0 / 3.264 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/12.81, allocations: 0.5955 MB / 3.265 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/12.81, allocations: 160.7 kB / 3.265 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/12.81, allocations: 15.98 kB / 3.265 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/12.81, allocations: 19.97 kB / 3.265 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/12.81, allocations: 31.91 kB / 3.265 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/12.81, allocations: 8 kB / 3.265 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008646/12.81, allocations: 303.1 kB / 3.265 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.122e-06/12.81, allocations: 4 kB / 3.265 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001906/12.82, allocations: 188 kB / 3.265 GB, free: 166.1 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.003698/12.82, allocations: 1.01 MB / 3.266 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002402/12.82, allocations: 470.4 kB / 3.267 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/12.82, allocations: 3.938 kB / 3.267 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007705/12.82, allocations: 254.6 kB / 3.267 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/12.83, allocations: 229 kB / 3.267 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/12.83, allocations: 1.286 MB / 3.269 GB, free: 163 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/12.83, allocations: 0.8581 MB / 3.269 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001094/12.83, allocations: 92.3 kB / 3.27 GB, free: 162 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/12.83, allocations: 35.44 kB / 3.27 GB, free: 162 MB / 0.8855 GB Notification: Performance of SimCode: time 2.294e-06/12.83, allocations: 0 / 3.27 GB, free: 162 MB / 0.8855 GB Notification: Performance of Templates: time 0.06573/12.9, allocations: 17.35 MB / 3.287 GB, free: 144.7 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)