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.753/1.753, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001164/0.001164, allocations: 187.9 kB / 377.1 MB, free: 1.531 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.92/1.92, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.001011/0.001011, allocations: 91.94 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9151/1.239, allocations: 147.3 MB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.239, allocations: 99.33 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04735/1.287, allocations: 16.46 MB / 1.148 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.657e-06/1.287, allocations: 0 / 1.148 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.757e-05/1.287, allocations: 8 kB / 1.148 GB, free: 17.33 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.00141/1.288, allocations: 0.7054 MB / 1.149 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.288, allocations: 12.03 kB / 1.149 GB, free: 16.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0961/1.384, allocations: 11.07 MB / 1.16 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/1.4, allocations: 2.504 MB / 1.162 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/1.4, allocations: 27.98 kB / 1.162 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/1.401, allocations: 29.22 kB / 1.162 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00568/1.406, allocations: 1.515 MB / 1.164 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/1.406, allocations: 0 / 1.164 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.407, allocations: 8 kB / 1.164 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/1.407, allocations: 13.05 kB / 1.164 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005102/1.412, allocations: 1.279 MB / 1.165 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00712/1.419, allocations: 5.473 MB / 1.17 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/1.424, allocations: 1.236 MB / 1.172 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.424, allocations: 31.98 kB / 1.172 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.424, allocations: 30.56 kB / 1.172 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 3.526e-06/1.424, allocations: 4.75 kB / 1.172 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.01678/1.441, allocations: 3.507 MB / 1.175 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/1.441, allocations: 59.36 kB / 1.175 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/1.442, allocations: 296.7 kB / 1.176 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/1.442, allocations: 33.7 kB / 1.176 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/1.443, allocations: 196.6 kB / 1.176 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/1.443, allocations: 74.89 kB / 1.176 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/1.443, allocations: 4 kB / 1.176 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.443, allocations: 351.5 kB / 1.176 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01126/1.454, allocations: 2.104 MB / 1.178 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/1.466, allocations: 2.174 MB / 1.18 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.477, allocations: 1.951 MB / 1.182 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.477, allocations: 3.938 kB / 1.182 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02385/1.501, allocations: 4.329 MB / 1.186 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.501, allocations: 186 kB / 1.187 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01852/1.52, allocations: 3.646 MB / 1.19 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.866e-05/1.52, allocations: 1.594 kB / 1.19 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008953/1.529, allocations: 0.952 MB / 1.191 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/1.529, allocations: 4.781 kB / 1.191 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008616/1.538, allocations: 0.7996 MB / 1.192 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/1.538, allocations: 75.88 kB / 1.192 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.538, allocations: 2.5 kB / 1.192 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02243/1.561, allocations: 4.27 MB / 1.196 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01835/1.579, allocations: 3.644 MB / 1.2 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.579, allocations: 0 / 1.2 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008618/1.588, allocations: 0.9481 MB / 1.201 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/1.588, allocations: 8 kB / 1.201 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008215/1.596, allocations: 0.7927 MB / 1.201 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/1.597, allocations: 71.89 kB / 1.201 GB, free: 11.13 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.001036/1.598, allocations: 229 kB / 1.202 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.598, allocations: 35.53 kB / 1.202 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009879/1.608, allocations: 1.967 MB / 1.204 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.608, allocations: 4 kB / 1.204 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.608, allocations: 0.8438 kB / 1.204 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.608, allocations: 0 / 1.204 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/1.61, allocations: 1.09 MB / 1.205 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00664/1.617, allocations: 1.376 MB / 1.206 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002837/1.62, allocations: 331.7 kB / 1.206 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.117e-05/1.62, allocations: 0 / 1.206 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.62, allocations: 27.91 kB / 1.206 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/1.62, allocations: 9 kB / 1.206 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.62, allocations: 0 / 1.206 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006677/1.627, allocations: 1.519 MB / 1.208 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006385/1.627, allocations: 240.4 kB / 1.208 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.628, allocations: 4 kB / 1.208 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.63, allocations: 239.8 kB / 1.208 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.63, allocations: 27.83 kB / 1.208 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.63, allocations: 27.95 kB / 1.208 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004779/1.631, allocations: 235.2 kB / 1.209 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.51e-07/1.631, allocations: 0 / 1.209 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002528/1.633, allocations: 371.6 kB / 1.209 GB, free: 3.285 MB / 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.0007901/1.634, allocations: 191.9 kB / 1.209 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02236/1.657, allocations: 4.481 MB / 1.214 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.657, allocations: 0 / 1.214 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003406/1.66, allocations: 0.7189 MB / 1.214 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/1.661, allocations: 78.67 kB / 1.214 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/1.665, allocations: 1.342 MB / 1.216 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/1.666, allocations: 0.8081 MB / 1.216 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004956/1.671, allocations: 0.7039 MB / 1.217 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.672, allocations: 143.2 kB / 1.217 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of SimCode: time 9.52e-07/1.672, allocations: 0 / 1.217 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of Templates: time 0.06974/1.742, allocations: 37.77 MB / 1.254 GB, free: 4.887 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)