Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.535/2.535, allocations: 287.5 MB / 303.2 MB, free: 8.156 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.001322/0.001322, allocations: 181.9 kB / 371.8 MB, free: 10.82 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.997/1.997, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009565/0.0009563, allocations: 88.09 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004845, allocations: 12.62 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9028/1.114, allocations: 138.1 MB / 1.114 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/1.114, allocations: 82.45 kB / 1.114 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005294/1.12, allocations: 0.9176 MB / 1.115 GB, free: 31.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.743e-06/1.12, allocations: 1.172 kB / 1.115 GB, free: 31.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.12, allocations: 0 / 1.115 GB, free: 31.49 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007059/1.121, allocations: 344.7 kB / 1.115 GB, free: 31.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.121, allocations: 11.53 kB / 1.115 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/1.121, allocations: 13.08 kB / 1.116 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/1.121, allocations: 186.1 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/1.121, allocations: 11.09 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/1.121, allocations: 8.312 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/1.121, allocations: 98.72 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.121, allocations: 192 / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/1.121, allocations: 9.188 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.121, allocations: 1.281 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/1.122, allocations: 47.03 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/1.123, allocations: 0.6385 MB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/1.123, allocations: 173 kB / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/1.123, allocations: 84.08 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.134e-05/1.123, allocations: 75.28 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/1.123, allocations: 107.1 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 3.336e-06/1.123, allocations: 0 / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0002761/1.124, allocations: 37.42 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/1.124, allocations: 136 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/1.124, allocations: 172.6 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.124, allocations: 25.7 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/1.124, allocations: 98.36 kB / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/1.124, allocations: 2.297 kB / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/1.124, allocations: 3.812 kB / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.124, allocations: 317.4 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/1.124, allocations: 4.688 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/1.125, allocations: 27.59 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.829e-05/1.125, allocations: 25.83 kB / 1.118 GB, free: 29.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.125, allocations: 0 / 1.118 GB, free: 29.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002089/1.125, allocations: 59.78 kB / 1.118 GB, free: 28.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.125, allocations: 9.781 kB / 1.118 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.125, allocations: 3.906 kB / 1.118 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.125, allocations: 3.938 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/1.125, allocations: 9.578 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.125, allocations: 0 / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/1.125, allocations: 7.719 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/1.125, allocations: 3.812 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.125, allocations: 195.5 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/1.126, allocations: 112.7 kB / 1.118 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/1.126, allocations: 119.8 kB / 1.118 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001646/1.126, allocations: 184.2 kB / 1.118 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001665/1.126, allocations: 181.8 kB / 1.119 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001344/1.126, allocations: 180.1 kB / 1.119 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/1.127, allocations: 427.9 kB / 1.119 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.799e-05/1.127, allocations: 105.4 kB / 1.119 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/1.127, allocations: 105.8 kB / 1.119 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/1.127, allocations: 185.7 kB / 1.12 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.127, allocations: 184 kB / 1.12 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/1.127, allocations: 177.8 kB / 1.12 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001153/1.127, allocations: 188 kB / 1.12 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/1.128, allocations: 310 kB / 1.12 GB, free: 26.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/1.128, allocations: 184.9 kB / 1.121 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.128, allocations: 185.7 kB / 1.121 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/1.128, allocations: 108.5 kB / 1.121 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.128, allocations: 185.6 kB / 1.121 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/1.128, allocations: 104.9 kB / 1.121 GB, free: 25.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000213/1.129, allocations: 130.6 kB / 1.121 GB, free: 25.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.129, allocations: 0 / 1.121 GB, free: 25.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001139/1.13, allocations: 7.688 kB / 1.121 GB, free: 25.42 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/1.13, allocations: 171.6 kB / 1.121 GB, free: 25.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.653e-05/1.13, allocations: 15.5 kB / 1.121 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.13, allocations: 0 / 1.121 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-06/1.13, allocations: 3.938 kB / 1.121 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/1.131, allocations: 0.5236 MB / 1.122 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/1.132, allocations: 238.9 kB / 1.122 GB, free: 24.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/1.132, allocations: 0.6973 MB / 1.123 GB, free: 23.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.022e-05/1.132, allocations: 5.141 kB / 1.123 GB, free: 23.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/1.132, allocations: 7.438 kB / 1.123 GB, free: 23.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.984e-06/1.132, allocations: 0 / 1.123 GB, free: 23.82 MB / 0.698 GB Notification: Performance of Templates: time 0.004415/1.137, allocations: 398.6 kB / 1.123 GB, free: 23.76 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)