Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001575/0.001575, allocations: 185.4 kB / 371.6 MB, free: 3.398 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.872/1.872, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009817/0.0009818, allocations: 88.25 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.298e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3414, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.393, allocations: 147.2 MB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.394, allocations: 88.06 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04329/1.437, allocations: 16.42 MB / 1.14 GB, free: 29.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/1.437, allocations: 0 / 1.14 GB, free: 29.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.155e-05/1.437, allocations: 8 kB / 1.14 GB, free: 29.09 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001373/1.439, allocations: 0.6466 MB / 1.14 GB, free: 28.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.439, allocations: 8.031 kB / 1.14 GB, free: 28.47 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09767/1.536, allocations: 11.06 MB / 1.151 GB, free: 20.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/1.552, allocations: 2.504 MB / 1.154 GB, free: 19.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/1.552, allocations: 19.75 kB / 1.154 GB, free: 19.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006512/1.553, allocations: 29.69 kB / 1.154 GB, free: 19.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/1.555, allocations: 0.9617 MB / 1.155 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/1.555, allocations: 1.406 kB / 1.155 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.555, allocations: 6.938 kB / 1.155 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/1.555, allocations: 8 kB / 1.155 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/1.557, allocations: 0.7026 MB / 1.155 GB, free: 18.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005847/1.562, allocations: 5.469 MB / 1.161 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/1.563, allocations: 0.6832 MB / 1.161 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007976/1.564, allocations: 0.5327 MB / 1.162 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.564, allocations: 34.16 kB / 1.162 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/1.564, allocations: 39.06 kB / 1.162 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/1.564, allocations: 0 / 1.162 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.002179/1.567, allocations: 1.108 MB / 1.163 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/1.567, allocations: 63.3 kB / 1.163 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/1.567, allocations: 286.9 kB / 1.163 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/1.567, allocations: 32.83 kB / 1.163 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/1.567, allocations: 202.7 kB / 1.163 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.567, allocations: 71.42 kB / 1.164 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/1.568, allocations: 3.062 kB / 1.164 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/1.568, allocations: 346.3 kB / 1.164 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.569, allocations: 1.06 MB / 1.165 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/1.571, allocations: 1.128 MB / 1.166 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/1.572, allocations: 0.9115 MB / 1.167 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.572, allocations: 0 / 1.167 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003833/1.576, allocations: 2.224 MB / 1.169 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/1.576, allocations: 191.8 kB / 1.169 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00298/1.579, allocations: 1.871 MB / 1.171 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.579, allocations: 0 / 1.171 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00851/1.588, allocations: 0.9474 MB / 1.172 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/1.588, allocations: 4 kB / 1.172 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008017/1.596, allocations: 0.8092 MB / 1.173 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/1.596, allocations: 75.38 kB / 1.173 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.596, allocations: 4 kB / 1.173 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003886/1.6, allocations: 2.17 MB / 1.175 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002897/1.603, allocations: 1.874 MB / 1.177 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/1.603, allocations: 7.5 kB / 1.177 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008035/1.611, allocations: 0.9467 MB / 1.178 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.611, allocations: 0 / 1.178 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007423/1.619, allocations: 0.7953 MB / 1.179 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.619, allocations: 71.2 kB / 1.179 GB, free: 2.074 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0004163/1.619, allocations: 124.9 kB / 1.179 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/1.62, allocations: 31.62 kB / 1.179 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00355/1.623, allocations: 1.366 MB / 1.18 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/1.623, allocations: 4 kB / 1.18 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.623, allocations: 0 / 1.18 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.623, allocations: 0 / 1.18 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/1.624, allocations: 1.09 MB / 1.181 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001271/1.625, allocations: 0.7599 MB / 1.182 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/1.628, allocations: 332.8 kB / 1.182 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/1.628, allocations: 7.938 kB / 1.182 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/1.628, allocations: 27.2 kB / 1.182 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.628, allocations: 0 / 1.182 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.628, allocations: 5.812 kB / 1.182 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/1.63, allocations: 0.9032 MB / 1.183 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/1.63, allocations: 246.9 kB / 1.183 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.63, allocations: 3.125 kB / 1.183 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.633, allocations: 242.2 kB / 1.184 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/1.633, allocations: 26.89 kB / 1.184 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/1.633, allocations: 35.89 kB / 1.184 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002813/1.633, allocations: 219 kB / 1.184 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.2e-07/1.633, allocations: 4 kB / 1.184 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001631/1.635, allocations: 373.8 kB / 1.184 GB, free: 13.41 MB / 0.7605 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 (36): * Single equations (assignments): 36 * 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.0004551/1.635, allocations: 200.6 kB / 1.184 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004126/1.64, allocations: 2.409 MB / 1.187 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.64, allocations: 0 / 1.187 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006948/1.64, allocations: 423.3 kB / 1.187 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/1.641, allocations: 76.27 kB / 1.187 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.642, allocations: 0.6576 MB / 1.188 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.642, allocations: 0.8082 MB / 1.189 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004314/1.647, allocations: 0.7232 MB / 1.189 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009319/1.648, allocations: 130.1 kB / 1.19 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of SimCode: time 1.923e-06/1.648, allocations: 0 / 1.19 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of Templates: time 0.07048/1.718, allocations: 38.43 MB / 1.227 GB, free: 2.805 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)