Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.554/2.554, allocations: 287.5 MB / 302.4 MB, free: 8.387 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001533, allocations: 175.8 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 99.73 kB / 0.743 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004949, allocations: 11.95 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2139, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9233/1.137, allocations: 138.1 MB / 1.113 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.138, allocations: 74.69 kB / 1.113 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003436/1.141, allocations: 0.9166 MB / 1.114 GB, free: 31.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/1.141, allocations: 0 / 1.114 GB, free: 31.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.141, allocations: 0 / 1.114 GB, free: 31.45 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.0003824/1.141, allocations: 341.8 kB / 1.115 GB, free: 31.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.142, allocations: 11.38 kB / 1.115 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/1.142, allocations: 8.953 kB / 1.115 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/1.142, allocations: 193.3 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.142, allocations: 3.562 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/1.142, allocations: 11.41 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.142, allocations: 102.2 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.142, allocations: 0 / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/1.142, allocations: 3.938 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/1.142, allocations: 3.812 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/1.142, allocations: 41.19 kB / 1.115 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/1.143, allocations: 0.6427 MB / 1.116 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/1.143, allocations: 174.4 kB / 1.116 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/1.143, allocations: 79.28 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/1.143, allocations: 108.3 kB / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/1.143, allocations: 0 / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.357e-05/1.143, allocations: 36.03 kB / 1.116 GB, free: 29.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.143, allocations: 128.1 kB / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/1.144, allocations: 157.1 kB / 1.116 GB, free: 29.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.144, allocations: 25.7 kB / 1.116 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/1.144, allocations: 114.8 kB / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/1.144, allocations: 3.938 kB / 1.116 GB, free: 29.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/1.144, allocations: 0 / 1.116 GB, free: 29.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.144, allocations: 321.9 kB / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/1.144, allocations: 3.844 kB / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/1.144, allocations: 23.89 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/1.144, allocations: 11.84 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.144, allocations: 0 / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001434/1.144, allocations: 59.86 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.144, allocations: 6.25 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.144, allocations: 3.906 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.144, allocations: 0 / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/1.144, allocations: 3.844 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/1.144, allocations: 1.406 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/1.144, allocations: 3.812 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/1.144, allocations: 4.094 kB / 1.117 GB, free: 29.05 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.000122/1.144, allocations: 202.3 kB / 1.117 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/1.145, allocations: 114.3 kB / 1.117 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/1.145, allocations: 114.2 kB / 1.117 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/1.145, allocations: 180.2 kB / 1.117 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.101e-05/1.145, allocations: 181.6 kB / 1.118 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-05/1.145, allocations: 184.2 kB / 1.118 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/1.145, allocations: 423.7 kB / 1.118 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.042e-05/1.145, allocations: 104.9 kB / 1.118 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/1.145, allocations: 106.4 kB / 1.118 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.075e-05/1.145, allocations: 180.5 kB / 1.118 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/1.145, allocations: 189.1 kB / 1.119 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.085e-05/1.145, allocations: 185.7 kB / 1.119 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.838e-05/1.146, allocations: 176.3 kB / 1.119 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/1.146, allocations: 314.5 kB / 1.119 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.146, allocations: 196.4 kB / 1.119 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/1.146, allocations: 181.2 kB / 1.12 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.146, allocations: 104.9 kB / 1.12 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/1.146, allocations: 185.3 kB / 1.12 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/1.146, allocations: 102.7 kB / 1.12 GB, free: 25.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001513/1.146, allocations: 130 kB / 1.12 GB, free: 25.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.146, allocations: 0 / 1.12 GB, free: 25.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002819/1.147, allocations: 7.812 kB / 1.12 GB, free: 25.5 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.0001453/1.147, allocations: 171.9 kB / 1.12 GB, free: 25.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.382e-05/1.147, allocations: 15.56 kB / 1.12 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.147, allocations: 0 / 1.12 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.147, allocations: 0 / 1.12 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/1.147, allocations: 0.5261 MB / 1.121 GB, free: 24.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/1.148, allocations: 235 kB / 1.121 GB, free: 24.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/1.148, allocations: 0.7035 MB / 1.122 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.957e-05/1.148, allocations: 5.297 kB / 1.122 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/1.148, allocations: 11.38 kB / 1.122 GB, free: 23.89 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/1.148, allocations: 3.844 kB / 1.122 GB, free: 23.89 MB / 0.698 GB Notification: Performance of Templates: time 0.002856/1.151, allocations: 389.3 kB / 1.122 GB, free: 23.84 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)