Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.6 MB, free: 5.215 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.001279/0.001279, allocations: 183.9 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6367 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.7 kB / 0.751 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3544, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.367, allocations: 139.2 MB / 1.124 GB, free: 35.44 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/1.367, allocations: 79.33 kB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002523/1.37, allocations: 0.9137 MB / 1.125 GB, free: 34.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.964e-06/1.37, allocations: 1.75 kB / 1.125 GB, free: 34.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.265e-05/1.37, allocations: 4.688 kB / 1.125 GB, free: 34.67 MB / 0.7292 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.0003654/1.37, allocations: 348.2 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.37, allocations: 8.562 kB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/1.37, allocations: 16.17 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/1.37, allocations: 186.5 kB / 1.126 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.37, allocations: 8.797 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.37, allocations: 7.438 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/1.371, allocations: 104.3 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.371, allocations: 1.688 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/1.371, allocations: 4 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/1.371, allocations: 1.516 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/1.371, allocations: 46.83 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/1.371, allocations: 0.6313 MB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.746e-05/1.371, allocations: 177.1 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/1.371, allocations: 79.28 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.371, allocations: 110.5 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/1.371, allocations: 1.969 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.198e-05/1.372, allocations: 36.17 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.372, allocations: 130.2 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/1.372, allocations: 158.4 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/1.372, allocations: 26.27 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/1.372, allocations: 103.3 kB / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/1.372, allocations: 0 / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.372, allocations: 0 / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/1.372, allocations: 322.2 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/1.372, allocations: 4 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/1.372, allocations: 26.8 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/1.372, allocations: 11.94 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.372, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001097/1.372, allocations: 56.97 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.372, allocations: 12.89 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/1.372, allocations: 0 / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.372, allocations: 0 / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/1.372, allocations: 8.094 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.372, allocations: 5.422 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/1.372, allocations: 0.5625 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/1.372, allocations: 4 kB / 1.128 GB, free: 31.94 MB / 0.7292 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.726e-05/1.372, allocations: 196.5 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/1.372, allocations: 116.8 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/1.372, allocations: 120.2 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/1.372, allocations: 180.9 kB / 1.128 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/1.373, allocations: 180.2 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/1.373, allocations: 180.8 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/1.373, allocations: 423.8 kB / 1.129 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.373, allocations: 101 kB / 1.129 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/1.373, allocations: 113.2 kB / 1.129 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.034e-05/1.373, allocations: 184.7 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/1.373, allocations: 176.9 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.272e-05/1.373, allocations: 188.2 kB / 1.13 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.425e-05/1.373, allocations: 180.8 kB / 1.13 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.719e-05/1.373, allocations: 315.3 kB / 1.13 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/1.373, allocations: 190 kB / 1.131 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/1.373, allocations: 184.2 kB / 1.131 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/1.373, allocations: 101.6 kB / 1.131 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/1.373, allocations: 189 kB / 1.131 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/1.373, allocations: 101 kB / 1.131 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.275e-05/1.373, allocations: 132.8 kB / 1.131 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.373, allocations: 0 / 1.131 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002134/1.374, allocations: 8 kB / 1.131 GB, free: 28.28 MB / 0.7292 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.0001332/1.374, allocations: 170.5 kB / 1.131 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.845e-05/1.374, allocations: 16.94 kB / 1.131 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.374, allocations: 0 / 1.131 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/1.374, allocations: 4.188 kB / 1.131 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/1.374, allocations: 0.5265 MB / 1.132 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/1.374, allocations: 238.9 kB / 1.132 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/1.375, allocations: 0.695 MB / 1.133 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.223e-05/1.375, allocations: 4 kB / 1.133 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/1.375, allocations: 11.44 kB / 1.133 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/1.375, allocations: 0.5625 kB / 1.133 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.002481/1.377, allocations: 398.5 kB / 1.133 GB, free: 26.36 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)