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.753/1.753, allocations: 289.7 MB / 302.2 MB, free: 2.098 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.001234/0.001234, allocations: 180.5 kB / 371.6 MB, free: 3.422 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.015/2.015, allocations: 205.1 MB / 0.6309 GB, free: 11.72 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.0009054/0.0009054, allocations: 92.02 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.601e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3109, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9905/1.301, allocations: 139.2 MB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.302, allocations: 78.06 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002088/1.304, allocations: 0.9119 MB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/1.304, allocations: 0.8125 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.818e-06/1.304, allocations: 4.844 kB / 1.117 GB, free: 43.83 MB / 0.7448 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.0002461/1.304, allocations: 336.8 kB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.304, allocations: 12.03 kB / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/1.304, allocations: 16.38 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.304, allocations: 182.7 kB / 1.117 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.304, allocations: 11.42 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/1.304, allocations: 4.719 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/1.305, allocations: 102.5 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.305, allocations: 0.625 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.305, allocations: 1.219 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.305, allocations: 0 / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/1.305, allocations: 45.95 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/1.305, allocations: 0.644 MB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/1.305, allocations: 173 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/1.305, allocations: 84.56 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/1.305, allocations: 83.89 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/1.305, allocations: 105.8 kB / 1.118 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/1.305, allocations: 0 / 1.118 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.378e-05/1.305, allocations: 33.61 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/1.306, allocations: 134.4 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/1.306, allocations: 147 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/1.306, allocations: 29.7 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/1.306, allocations: 111.9 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/1.306, allocations: 0 / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/1.306, allocations: 0 / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.049e-05/1.306, allocations: 318.2 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/1.306, allocations: 4 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/1.306, allocations: 26.08 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/1.306, allocations: 11.88 kB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.306, allocations: 0 / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.915e-05/1.306, allocations: 60.95 kB / 1.119 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.306, allocations: 8 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.306, allocations: 0.6562 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.306, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/1.306, allocations: 4 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.306, allocations: 8.641 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/1.306, allocations: 4 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/1.306, allocations: 8.625 kB / 1.119 GB, free: 41.14 MB / 0.7448 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 () * 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 5.13e-05/1.306, allocations: 176.3 kB / 1.119 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/1.306, allocations: 116.8 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/1.306, allocations: 116.1 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/1.306, allocations: 180.4 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.778e-05/1.306, allocations: 180.3 kB / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/1.306, allocations: 184.2 kB / 1.12 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/1.307, allocations: 424.2 kB / 1.121 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.307, allocations: 104.9 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/1.307, allocations: 109.6 kB / 1.121 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.441e-05/1.307, allocations: 179.6 kB / 1.121 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/1.307, allocations: 188.9 kB / 1.121 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-05/1.307, allocations: 176.3 kB / 1.121 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-05/1.307, allocations: 184.2 kB / 1.121 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.382e-05/1.307, allocations: 307 kB / 1.122 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/1.307, allocations: 202.1 kB / 1.122 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/1.307, allocations: 178.1 kB / 1.122 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/1.307, allocations: 108.9 kB / 1.122 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/1.307, allocations: 183.5 kB / 1.122 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/1.307, allocations: 101 kB / 1.123 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.924e-05/1.307, allocations: 127.5 kB / 1.123 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.62e-07/1.307, allocations: 0 / 1.123 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000187/1.307, allocations: 15.94 kB / 1.123 GB, free: 37.54 MB / 0.7448 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 () * 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.0001084/1.307, allocations: 172.2 kB / 1.123 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.706e-05/1.307, allocations: 8.594 kB / 1.123 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.307, allocations: 4 kB / 1.123 GB, free: 37.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/1.307, allocations: 0 / 1.123 GB, free: 37.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/1.308, allocations: 0.5266 MB / 1.123 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/1.308, allocations: 172.3 kB / 1.124 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/1.308, allocations: 0.6984 MB / 1.124 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.065e-05/1.308, allocations: 5.016 kB / 1.124 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/1.308, allocations: 7.438 kB / 1.124 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.308, allocations: 0 / 1.124 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.002055/1.31, allocations: 414.9 kB / 1.125 GB, free: 35.7 MB / 0.7448 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)