Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.971/4.972, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002577/0.002577, allocations: 357.6 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.372/4.372, allocations: 410.7 MB / 1.113 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001883/0.001883, allocations: 193.9 kB / 1.226 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.0005194, allocations: 15.98 kB / 1.349 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7565, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.9649, allocations: 138.1 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.9652, allocations: 82.17 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.002875/0.9681, allocations: 0.9153 MB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9681, allocations: 0.7812 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.9681, allocations: 0 / 1.597 GB, free: 145 MB / 0.8542 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.0003016/0.9684, allocations: 347.8 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.9685, allocations: 13.5 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.9685, allocations: 7.906 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.9687, allocations: 194.8 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.9687, allocations: 4 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.9688, allocations: 4.562 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.9689, allocations: 103.1 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.969, allocations: 7.922 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.969, allocations: 4 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.969, allocations: 4 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.9691, allocations: 35.98 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.9697, allocations: 0.6475 MB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.081e-05/0.9698, allocations: 170.6 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.9698, allocations: 82.94 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.9698, allocations: 79.88 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.9699, allocations: 107 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.9699, allocations: 2.125 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 8.024e-05/0.97, allocations: 37.55 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.97, allocations: 130.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.9702, allocations: 166.1 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.9702, allocations: 26.7 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.9703, allocations: 111.9 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.9703, allocations: 0.625 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.9703, allocations: 0 / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.9704, allocations: 320.5 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.9704, allocations: 4 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.9704, allocations: 23.27 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.9705, allocations: 8.812 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9705, allocations: 1.062 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000127/0.9706, allocations: 66.8 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.9706, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9707, allocations: 7.938 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.9707, allocations: 0.875 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.9708, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.9708, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.9708, allocations: 4.875 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.9708, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 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 7.936e-05/0.9709, allocations: 204.1 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.971, allocations: 112.8 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.971, allocations: 116.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.9711, allocations: 180.3 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/0.9711, allocations: 182.3 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/0.9712, allocations: 176.3 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.9714, allocations: 429.7 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.9714, allocations: 111.3 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.9714, allocations: 101 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.33e-05/0.9715, allocations: 184.6 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.9715, allocations: 184.3 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.241e-05/0.9716, allocations: 186.5 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.204e-05/0.9716, allocations: 180.2 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.509e-05/0.9717, allocations: 311 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.9718, allocations: 190 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.9718, allocations: 186.1 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.9719, allocations: 104.9 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.972, allocations: 176.9 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.972, allocations: 111.5 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001077/0.9721, allocations: 127.2 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9721, allocations: 0 / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002674/0.9724, allocations: 8 kB / 1.603 GB, free: 138.4 MB / 0.8542 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.0001048/0.9725, allocations: 176.1 kB / 1.603 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.474e-05/0.9726, allocations: 4 kB / 1.603 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9726, allocations: 0 / 1.603 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-06/0.9726, allocations: 11.09 kB / 1.603 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.973, allocations: 0.5185 MB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.9733, allocations: 236.4 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.9735, allocations: 0.7019 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.9735, allocations: 4 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.9736, allocations: 8.781 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/0.9736, allocations: 3.938 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.002938/0.9765, allocations: 401.2 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB