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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 293 MB / 309 MB, free: 4.805 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.001043/0.001043, allocations: 168.6 kB / 378.7 MB, free: 1.023 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.703/1.703, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008338/0.0008339, allocations: 94.33 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004874, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2906, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7603/1.051, allocations: 147.4 MB / 1.134 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.051, allocations: 96.88 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04685/1.098, allocations: 16.52 MB / 1.151 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/1.098, allocations: 0 / 1.151 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.202e-05/1.098, allocations: 8 kB / 1.151 GB, free: 16.32 MB / 0.7292 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.001622/1.1, allocations: 0.7084 MB / 1.151 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.1, allocations: 9.859 kB / 1.151 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08405/1.184, allocations: 11.07 MB / 1.162 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/1.198, allocations: 2.513 MB / 1.165 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/1.198, allocations: 20.94 kB / 1.165 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005347/1.199, allocations: 29.88 kB / 1.165 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005272/1.204, allocations: 1.519 MB / 1.166 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.204, allocations: 11.86 kB / 1.166 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.204, allocations: 8 kB / 1.166 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/1.204, allocations: 8 kB / 1.166 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/1.209, allocations: 1.275 MB / 1.167 GB, free: 328 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00709/1.216, allocations: 5.473 MB / 1.173 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/1.221, allocations: 1.241 MB / 1.174 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004454/1.225, allocations: 1.082 MB / 1.175 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/1.225, allocations: 31.98 kB / 1.175 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.225, allocations: 34.56 kB / 1.175 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 3.286e-06/1.225, allocations: 0 / 1.175 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.01388/1.239, allocations: 3.277 MB / 1.178 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/1.239, allocations: 55.41 kB / 1.178 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/1.24, allocations: 329.7 kB / 1.179 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003177/1.24, allocations: 37.64 kB / 1.179 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/1.24, allocations: 200.5 kB / 1.179 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.241, allocations: 70.92 kB / 1.179 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.241, allocations: 8.781 kB / 1.179 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.241, allocations: 346.8 kB / 1.179 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009324/1.25, allocations: 2.108 MB / 1.181 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00935/1.26, allocations: 2.181 MB / 1.183 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.273, allocations: 2.987 MB / 1.186 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.273, allocations: 0 / 1.186 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01948/1.293, allocations: 4.337 MB / 1.191 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/1.293, allocations: 101.9 kB / 1.191 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01592/1.309, allocations: 3.641 MB / 1.194 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/1.309, allocations: 1.781 kB / 1.194 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007611/1.316, allocations: 0.9528 MB / 1.195 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.316, allocations: 4 kB / 1.195 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007007/1.323, allocations: 0.7957 MB / 1.196 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/1.324, allocations: 71.88 kB / 1.196 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.324, allocations: 4 kB / 1.196 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01955/1.343, allocations: 4.276 MB / 1.2 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01582/1.359, allocations: 3.638 MB / 1.204 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.359, allocations: 4 kB / 1.204 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007419/1.367, allocations: 0.952 MB / 1.205 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.367, allocations: 3.938 kB / 1.205 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006952/1.374, allocations: 0.7927 MB / 1.205 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/1.374, allocations: 75.88 kB / 1.206 GB, free: 8.109 MB / 0.7761 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 () * Number of clocked 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.0006905/1.375, allocations: 217.1 kB / 1.206 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.375, allocations: 35.56 kB / 1.206 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008501/1.384, allocations: 1.979 MB / 1.208 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.384, allocations: 4 kB / 1.208 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.384, allocations: 0 / 1.208 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.384, allocations: 0 / 1.208 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/1.385, allocations: 1.09 MB / 1.209 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005624/1.391, allocations: 1.381 MB / 1.21 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.393, allocations: 323.6 kB / 1.21 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.393, allocations: 7.938 kB / 1.21 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/1.393, allocations: 27.95 kB / 1.21 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.393, allocations: 0 / 1.21 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.393, allocations: 3.938 kB / 1.21 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/1.399, allocations: 1.514 MB / 1.212 GB, free: 1.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/1.399, allocations: 237.2 kB / 1.212 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/1.4, allocations: 9 kB / 1.212 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.402, allocations: 247.8 kB / 1.212 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/1.402, allocations: 23.83 kB / 1.212 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/1.402, allocations: 27.97 kB / 1.212 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003248/1.402, allocations: 231.2 kB / 1.213 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.9e-07/1.402, allocations: 0 / 1.213 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001814/1.404, allocations: 371.6 kB / 1.213 GB, free: 280 kB / 0.7761 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 (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.0005304/1.405, allocations: 195.9 kB / 1.213 GB, free: 76 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01937/1.424, allocations: 4.474 MB / 1.218 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.424, allocations: 0 / 1.218 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002923/1.427, allocations: 0.718 MB / 1.218 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/1.428, allocations: 84.05 kB / 1.218 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/1.432, allocations: 1.35 MB / 1.22 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/1.432, allocations: 0.8004 MB / 1.22 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00501/1.437, allocations: 0.708 MB / 1.221 GB, free: 7.887 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009839/1.438, allocations: 135.2 kB / 1.221 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of SimCode: time 1.363e-06/1.438, allocations: 0 / 1.221 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of Templates: time 0.06557/1.504, allocations: 37.91 MB / 1.258 GB, free: 1.738 MB / 0.823 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)