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.761/1.761, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.0013/0.0013, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.723/1.723, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008111/0.0008109, allocations: 94.75 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.06e-05, allocations: 4 kB / 0.8518 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8565, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/1.088, allocations: 137.5 MB / 1.099 GB, free: 2.285 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.088, allocations: 75.95 kB / 1.099 GB, free: 2.211 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002606/1.091, allocations: 0.9131 MB / 1.1 GB, free: 1.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.091, allocations: 0 / 1.1 GB, free: 1.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.091, allocations: 0.6875 kB / 1.1 GB, free: 1.32 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.0003846/1.091, allocations: 335 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.091, allocations: 13.02 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/1.091, allocations: 8.938 kB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/1.092, allocations: 186.9 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/1.092, allocations: 4.719 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/1.092, allocations: 4.688 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/1.092, allocations: 35.98 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/1.092, allocations: 90.77 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.092, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.092, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/1.092, allocations: 5.281 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/1.093, allocations: 0.6118 MB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/1.093, allocations: 170 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/1.093, allocations: 80.7 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/1.093, allocations: 81.48 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/1.093, allocations: 109.8 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.093, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.923e-05/1.093, allocations: 32.86 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.093, allocations: 53.34 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.093, allocations: 117.2 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/1.093, allocations: 25.7 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/1.093, allocations: 111.8 kB / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/1.093, allocations: 0.75 kB / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/1.093, allocations: 0 / 1.102 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.093, allocations: 315.4 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/1.093, allocations: 2.5 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/1.093, allocations: 26.56 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/1.094, allocations: 4 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.094, allocations: 6.375 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001265/1.094, allocations: 45.61 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.094, allocations: 8.781 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.094, allocations: 3.953 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.094, allocations: 2.906 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/1.094, allocations: 15.42 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.094, allocations: 7.859 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/1.094, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/1.094, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 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 0.0001227/1.094, allocations: 180.3 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/1.094, allocations: 109.1 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/1.094, allocations: 112.9 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/1.094, allocations: 188.1 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.962e-05/1.094, allocations: 176.3 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-05/1.094, allocations: 180.2 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/1.095, allocations: 405.8 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.908e-05/1.095, allocations: 101 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/1.095, allocations: 104.9 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.925e-05/1.095, allocations: 176.7 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/1.095, allocations: 184.2 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-05/1.095, allocations: 184.2 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-05/1.095, allocations: 184.3 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/1.095, allocations: 307.6 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/1.095, allocations: 186.1 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.095, allocations: 176.3 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/1.096, allocations: 108.9 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/1.096, allocations: 180.3 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/1.096, allocations: 111.5 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.965e-05/1.096, allocations: 91.23 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.096, allocations: 0 / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002229/1.096, allocations: 15.84 kB / 1.105 GB, free: 11.06 MB / 0.7136 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.0001824/1.096, allocations: 178.3 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/1.096, allocations: 15.94 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.096, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/1.096, allocations: 0.9062 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/1.097, allocations: 0.5198 MB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/1.097, allocations: 165.9 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.097, allocations: 0.6963 MB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.779e-05/1.097, allocations: 0 / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/1.097, allocations: 7.438 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.097, allocations: 0 / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of Templates: time 0.0022/1.1, allocations: 242.7 kB / 1.107 GB, free: 9.223 MB / 0.7136 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)