Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001274/0.001274, allocations: 181.8 kB / 371.8 MB, free: 10.27 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.098/2.098, allocations: 205.4 MB / 0.6306 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 102.8 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 12.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2958, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8818/1.178, allocations: 146.3 MB / 1.122 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003931/1.178, allocations: 94.84 kB / 1.122 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04211/1.22, allocations: 16.46 MB / 1.138 GB, free: 27.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/1.22, allocations: 0 / 1.138 GB, free: 27.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.413e-05/1.22, allocations: 7.469 kB / 1.138 GB, free: 27.75 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001235/1.222, allocations: 0.7049 MB / 1.139 GB, free: 27.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.222, allocations: 7.688 kB / 1.139 GB, free: 27.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09506/1.317, allocations: 11.08 MB / 1.15 GB, free: 22.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/1.332, allocations: 2.502 MB / 1.152 GB, free: 20.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/1.332, allocations: 27.56 kB / 1.152 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004991/1.333, allocations: 26.56 kB / 1.152 GB, free: 20.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/1.338, allocations: 1.517 MB / 1.154 GB, free: 18.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.338, allocations: 3.938 kB / 1.154 GB, free: 18.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/1.338, allocations: 6.375 kB / 1.154 GB, free: 18.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.338, allocations: 8 kB / 1.154 GB, free: 18.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005063/1.343, allocations: 1.28 MB / 1.155 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/1.35, allocations: 5.471 MB / 1.161 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005157/1.355, allocations: 1.228 MB / 1.162 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/1.355, allocations: 38.17 kB / 1.162 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/1.355, allocations: 30.56 kB / 1.162 GB, free: 11.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.807e-06/1.355, allocations: 0 / 1.162 GB, free: 11.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.01601/1.371, allocations: 3.513 MB / 1.165 GB, free: 8.445 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/1.371, allocations: 59.36 kB / 1.165 GB, free: 8.375 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/1.372, allocations: 292 kB / 1.166 GB, free: 8.129 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003571/1.372, allocations: 33.64 kB / 1.166 GB, free: 8.094 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/1.372, allocations: 199.8 kB / 1.166 GB, free: 7.945 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.372, allocations: 75.23 kB / 1.166 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.373, allocations: 3.688 kB / 1.166 GB, free: 7.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.373, allocations: 346.2 kB / 1.166 GB, free: 7.551 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01052/1.383, allocations: 2.11 MB / 1.168 GB, free: 5.918 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/1.394, allocations: 2.172 MB / 1.17 GB, free: 4.207 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.405, allocations: 1.951 MB / 1.172 GB, free: 2.711 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/1.405, allocations: 7.922 kB / 1.172 GB, free: 2.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02182/1.426, allocations: 4.337 MB / 1.177 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.427, allocations: 185.2 kB / 1.177 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01808/1.445, allocations: 3.643 MB / 1.18 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/1.445, allocations: 0 / 1.18 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008977/1.454, allocations: 0.9473 MB / 1.181 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/1.454, allocations: 4 kB / 1.181 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008501/1.462, allocations: 0.7948 MB / 1.182 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/1.463, allocations: 74.75 kB / 1.182 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.463, allocations: 4 kB / 1.182 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02184/1.485, allocations: 4.275 MB / 1.186 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01796/1.503, allocations: 3.636 MB / 1.19 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.503, allocations: 8 kB / 1.19 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008735/1.512, allocations: 0.9476 MB / 1.191 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/1.512, allocations: 0 / 1.191 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008099/1.52, allocations: 0.7936 MB / 1.192 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004063/1.52, allocations: 75.19 kB / 1.192 GB, free: 2.496 MB / 0.7136 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.0006668/1.521, allocations: 222.7 kB / 1.192 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/1.521, allocations: 39.53 kB / 1.192 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008864/1.53, allocations: 1.973 MB / 1.194 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.53, allocations: 7.938 kB / 1.194 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.53, allocations: 0 / 1.194 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.53, allocations: 0 / 1.194 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/1.532, allocations: 1.09 MB / 1.195 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006352/1.538, allocations: 1.378 MB / 1.196 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/1.541, allocations: 330 kB / 1.197 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/1.541, allocations: 0 / 1.197 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.541, allocations: 26.83 kB / 1.197 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.541, allocations: 3.938 kB / 1.197 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.541, allocations: 8 kB / 1.197 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/1.548, allocations: 1.509 MB / 1.198 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/1.548, allocations: 232.2 kB / 1.198 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.548, allocations: 7.75 kB / 1.198 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.551, allocations: 250.9 kB / 1.198 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/1.551, allocations: 23.83 kB / 1.199 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/1.551, allocations: 26.84 kB / 1.199 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003384/1.551, allocations: 233.6 kB / 1.199 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.551, allocations: 0 / 1.199 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002215/1.554, allocations: 374.9 kB / 1.199 GB, free: 11.95 MB / 0.7292 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.0006249/1.554, allocations: 201 kB / 1.199 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02296/1.577, allocations: 4.472 MB / 1.204 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.577, allocations: 0 / 1.204 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003413/1.581, allocations: 0.7185 MB / 1.204 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/1.581, allocations: 89.06 kB / 1.204 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/1.586, allocations: 1.343 MB / 1.206 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.586, allocations: 0.8042 MB / 1.207 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005093/1.591, allocations: 0.7052 MB / 1.207 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.593, allocations: 135 kB / 1.207 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of SimCode: time 2.996e-06/1.593, allocations: 0 / 1.207 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of Templates: time 0.07625/1.669, allocations: 37.78 MB / 1.244 GB, free: 14.95 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)