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.719/1.719, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001193/0.001193, allocations: 181 kB / 371.8 MB, free: 10.28 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.164/2.164, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001436/0.001436, allocations: 97.72 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004204, allocations: 12.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2896, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.246, allocations: 138.3 MB / 1.114 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/1.246, allocations: 80.14 kB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003473/1.25, allocations: 0.9084 MB / 1.115 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.246e-06/1.25, allocations: 0 / 1.115 GB, free: 31.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.596e-05/1.25, allocations: 1.312 kB / 1.115 GB, free: 31.95 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.0004945/1.251, allocations: 341.1 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/1.251, allocations: 9.125 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/1.251, allocations: 10.69 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/1.251, allocations: 197.4 kB / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/1.251, allocations: 6.438 kB / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/1.251, allocations: 7.938 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/1.251, allocations: 98.78 kB / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.251, allocations: 0 / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.251, allocations: 1.281 kB / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/1.251, allocations: 2.5 kB / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/1.251, allocations: 45.75 kB / 1.116 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/1.252, allocations: 0.6367 MB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/1.252, allocations: 180.9 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.284e-05/1.253, allocations: 75.28 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.253, allocations: 112.8 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/1.253, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001005/1.253, allocations: 36.09 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.253, allocations: 126.7 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/1.253, allocations: 158 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/1.253, allocations: 33.64 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/1.253, allocations: 110.6 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/1.253, allocations: 0 / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.253, allocations: 1.641 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.253, allocations: 321.3 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/1.253, allocations: 3.781 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/1.253, allocations: 20.86 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/1.253, allocations: 11.31 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.253, allocations: 0 / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001595/1.253, allocations: 58.41 kB / 1.118 GB, free: 29.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.254, allocations: 11.7 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.254, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.254, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/1.254, allocations: 7.719 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.254, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/1.254, allocations: 7.516 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/1.254, allocations: 3.906 kB / 1.118 GB, free: 29.55 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.0001194/1.254, allocations: 195.7 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/1.254, allocations: 109.2 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/1.254, allocations: 123 kB / 1.118 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.254e-05/1.254, allocations: 180.2 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.782e-05/1.254, allocations: 184.1 kB / 1.119 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.544e-05/1.254, allocations: 183.7 kB / 1.119 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/1.255, allocations: 424.6 kB / 1.119 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.007e-05/1.255, allocations: 104.8 kB / 1.119 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/1.255, allocations: 104.9 kB / 1.12 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-05/1.255, allocations: 184 kB / 1.12 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-05/1.255, allocations: 180.2 kB / 1.12 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.525e-05/1.255, allocations: 191.5 kB / 1.12 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.534e-05/1.255, allocations: 176.3 kB / 1.12 GB, free: 27.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/1.255, allocations: 320 kB / 1.121 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/1.255, allocations: 185.9 kB / 1.121 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.256, allocations: 183.3 kB / 1.121 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.256, allocations: 104.4 kB / 1.121 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/1.256, allocations: 184.2 kB / 1.121 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/1.256, allocations: 101 kB / 1.121 GB, free: 26.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001114/1.256, allocations: 131.3 kB / 1.121 GB, free: 26.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.256, allocations: 4 kB / 1.121 GB, free: 26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002898/1.256, allocations: 7.688 kB / 1.121 GB, free: 26 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.0002301/1.256, allocations: 169.9 kB / 1.122 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.627e-05/1.257, allocations: 14.64 kB / 1.122 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.257, allocations: 0 / 1.122 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.257, allocations: 0 / 1.122 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/1.257, allocations: 0.5294 MB / 1.122 GB, free: 25.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/1.257, allocations: 235 kB / 1.122 GB, free: 25.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/1.258, allocations: 0.7025 MB / 1.123 GB, free: 24.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.254e-05/1.258, allocations: 3.812 kB / 1.123 GB, free: 24.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/1.258, allocations: 11.31 kB / 1.123 GB, free: 24.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.144e-06/1.258, allocations: 0 / 1.123 GB, free: 24.39 MB / 0.698 GB Notification: Performance of Templates: time 0.002772/1.261, allocations: 393.2 kB / 1.123 GB, free: 24.34 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)