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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 293 MB / 309 MB, free: 4.805 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.0009885/0.0009885, allocations: 175.6 kB / 378.7 MB, free: 1.012 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.628/1.628, allocations: 205.4 MB / 0.6383 GB, free: 9.07 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.0008542/0.0008543, allocations: 87.53 kB / 0.7527 GB, free: 62.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005262/0.0005262, allocations: 15.98 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 116.4 MB / 0.9904 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7744/1.057, allocations: 139.3 MB / 1.127 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.057, allocations: 80.06 kB / 1.127 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002165/1.059, allocations: 0.9186 MB / 1.127 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.355e-06/1.059, allocations: 1.094 kB / 1.127 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.726e-06/1.059, allocations: 0 / 1.127 GB, free: 33.86 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.0002947/1.06, allocations: 355 kB / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.06, allocations: 8.031 kB / 1.128 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/1.06, allocations: 12.38 kB / 1.128 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/1.06, allocations: 195.4 kB / 1.128 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.06, allocations: 4.906 kB / 1.128 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/1.06, allocations: 5.312 kB / 1.128 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/1.06, allocations: 106.3 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.06, allocations: 192 / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.06, allocations: 3.938 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.06, allocations: 5.406 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.914e-05/1.06, allocations: 39.25 kB / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/1.061, allocations: 0.6434 MB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/1.061, allocations: 173.8 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/1.061, allocations: 80.14 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/1.061, allocations: 78.8 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.061, allocations: 105.8 kB / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.061, allocations: 0 / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.542e-05/1.061, allocations: 41.48 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.061, allocations: 136.4 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/1.061, allocations: 164.2 kB / 1.13 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/1.061, allocations: 29.7 kB / 1.13 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/1.061, allocations: 100 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/1.061, allocations: 3.422 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/1.061, allocations: 0.6562 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/1.061, allocations: 314.8 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/1.061, allocations: 4 kB / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/1.061, allocations: 31.12 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/1.061, allocations: 26.52 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.061, allocations: 0 / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001108/1.061, allocations: 56.97 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.061, allocations: 8.75 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.061, allocations: 4.625 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.061, allocations: 3.938 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/1.061, allocations: 4 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.061, allocations: 7.609 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/1.062, allocations: 3.906 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/1.062, allocations: 4.938 kB / 1.13 GB, free: 30.99 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 6.91e-05/1.062, allocations: 201.1 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/1.062, allocations: 108.9 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/1.062, allocations: 124.3 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/1.062, allocations: 180.2 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/1.062, allocations: 176.3 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/1.062, allocations: 180.3 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/1.062, allocations: 424.7 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.062, allocations: 108.8 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/1.062, allocations: 113.5 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.79e-05/1.062, allocations: 180.3 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.062, allocations: 184.1 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.938e-05/1.062, allocations: 180.1 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.723e-05/1.062, allocations: 180.3 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.321e-05/1.062, allocations: 312.6 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/1.062, allocations: 189.5 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/1.062, allocations: 185.4 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/1.062, allocations: 101.5 kB / 1.133 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/1.062, allocations: 191.6 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/1.062, allocations: 101 kB / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.986e-05/1.063, allocations: 125.4 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.063, allocations: 0 / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000217/1.063, allocations: 8 kB / 1.134 GB, free: 27.34 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.000103/1.063, allocations: 175.7 kB / 1.134 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.864e-05/1.063, allocations: 21.38 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.063, allocations: 0 / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.063, allocations: 0 / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/1.063, allocations: 0.5224 MB / 1.134 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/1.064, allocations: 251 kB / 1.134 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/1.064, allocations: 0.6919 MB / 1.135 GB, free: 25.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.842e-05/1.064, allocations: 4 kB / 1.135 GB, free: 25.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/1.064, allocations: 7.438 kB / 1.135 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.064, allocations: 0 / 1.135 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.002182/1.066, allocations: 403.8 kB / 1.136 GB, free: 25.41 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)