Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.001005/0.001006, allocations: 179 kB / 372.9 MB, free: 10.16 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.716/1.716, allocations: 205.4 MB / 0.6317 GB, free: 9.938 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.001105/0.001105, allocations: 98.52 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 16.31 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2403, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7652/1.006, allocations: 138.3 MB / 1.116 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.006, allocations: 80.48 kB / 1.116 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002764/1.009, allocations: 0.9219 MB / 1.117 GB, free: 32.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.215e-06/1.009, allocations: 0 / 1.117 GB, free: 32.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.042e-05/1.009, allocations: 3.875 kB / 1.117 GB, free: 32.14 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.0003089/1.009, allocations: 343.2 kB / 1.117 GB, free: 31.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.009, allocations: 7.875 kB / 1.117 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/1.009, allocations: 13.95 kB / 1.117 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/1.009, allocations: 197.2 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.009, allocations: 4.312 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/1.009, allocations: 4.156 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.009, allocations: 102.5 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.009, allocations: 192 / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.01, allocations: 3.938 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.01, allocations: 3.875 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/1.01, allocations: 46.73 kB / 1.117 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/1.01, allocations: 0.6411 MB / 1.118 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/1.01, allocations: 169.1 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/1.01, allocations: 80.14 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/1.01, allocations: 75.28 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.01, allocations: 109.8 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.01, allocations: 3.844 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.476e-05/1.01, allocations: 48.48 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.01, allocations: 126.7 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/1.011, allocations: 164.1 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/1.011, allocations: 25.7 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/1.011, allocations: 107.4 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/1.011, allocations: 0 / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/1.011, allocations: 0 / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/1.011, allocations: 321.5 kB / 1.119 GB, free: 29.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/1.011, allocations: 15.62 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/1.011, allocations: 20.62 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/1.011, allocations: 25.92 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.011, allocations: 0 / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/1.011, allocations: 60.34 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.011, allocations: 7.562 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.011, allocations: 0 / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.011, allocations: 3.938 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.553e-05/1.011, allocations: 3.844 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.011, allocations: 11.2 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/1.011, allocations: 7.531 kB / 1.119 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/1.011, allocations: 7.906 kB / 1.119 GB, free: 29.62 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 8.87e-05/1.011, allocations: 197 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/1.011, allocations: 108.7 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/1.011, allocations: 119.4 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-05/1.011, allocations: 176.3 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.9e-05/1.012, allocations: 186.9 kB / 1.12 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-05/1.012, allocations: 184 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/1.012, allocations: 423.1 kB / 1.121 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.159e-05/1.012, allocations: 109.2 kB / 1.121 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/1.012, allocations: 105 kB / 1.121 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.405e-05/1.012, allocations: 184.2 kB / 1.121 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/1.012, allocations: 187.2 kB / 1.121 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.932e-05/1.012, allocations: 180.1 kB / 1.121 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.632e-05/1.012, allocations: 184.2 kB / 1.122 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/1.012, allocations: 310.3 kB / 1.122 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/1.012, allocations: 183.5 kB / 1.122 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/1.012, allocations: 186.9 kB / 1.122 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/1.012, allocations: 108.9 kB / 1.122 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/1.013, allocations: 180.1 kB / 1.123 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/1.013, allocations: 104.3 kB / 1.123 GB, free: 26.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.667e-05/1.013, allocations: 126 kB / 1.123 GB, free: 26.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.393e-06/1.013, allocations: 0 / 1.123 GB, free: 26.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002224/1.013, allocations: 11.62 kB / 1.123 GB, free: 26.08 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.0001257/1.013, allocations: 176.6 kB / 1.123 GB, free: 25.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.047e-05/1.013, allocations: 10.97 kB / 1.123 GB, free: 25.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.013, allocations: 0 / 1.123 GB, free: 25.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/1.013, allocations: 0 / 1.123 GB, free: 25.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/1.013, allocations: 0.5266 MB / 1.123 GB, free: 25.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/1.014, allocations: 242.8 kB / 1.124 GB, free: 25.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/1.014, allocations: 0.6924 MB / 1.124 GB, free: 24.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.941e-05/1.014, allocations: 10.55 kB / 1.124 GB, free: 24.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/1.014, allocations: 11.28 kB / 1.124 GB, free: 24.47 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.014, allocations: 4 kB / 1.124 GB, free: 24.46 MB / 0.698 GB Notification: Performance of Templates: time 0.002041/1.016, allocations: 393.3 kB / 1.125 GB, free: 24.41 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)