Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.094/2.094, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 173.5 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.721/2.721, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000876/0.000876, allocations: 87.55 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004751, allocations: 15.33 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2051, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.4361, allocations: 139.6 MB / 1.036 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.4365, allocations: 99.94 kB / 1.036 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07724/0.5138, allocations: 16.18 MB / 1.052 GB, free: 5.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5139, allocations: 4 kB / 1.052 GB, free: 5.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.338e-05/0.5139, allocations: 12 kB / 1.052 GB, free: 5.371 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.001826/0.5157, allocations: 0.6973 MB / 1.052 GB, free: 4.617 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5158, allocations: 8.031 kB / 1.052 GB, free: 4.609 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7661/1.282, allocations: 11.08 MB / 1.063 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03103/1.313, allocations: 2.498 MB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/1.313, allocations: 26.62 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006761/1.314, allocations: 29.62 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/1.325, allocations: 1.511 MB / 1.067 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.325, allocations: 8.938 kB / 1.067 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/1.326, allocations: 7.969 kB / 1.067 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/1.326, allocations: 7.969 kB / 1.067 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/1.336, allocations: 1.279 MB / 1.068 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009851/1.346, allocations: 5.484 MB / 1.074 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.356, allocations: 1.23 MB / 1.075 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009997/1.367, allocations: 1.084 MB / 1.076 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.367, allocations: 41 kB / 1.076 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.367, allocations: 38.28 kB / 1.076 GB, free: 141.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.925e-06/1.367, allocations: 1.281 kB / 1.076 GB, free: 141.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.03112/1.398, allocations: 3.274 MB / 1.079 GB, free: 141.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/1.398, allocations: 53.72 kB / 1.079 GB, free: 141.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/1.399, allocations: 335.6 kB / 1.08 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000661/1.399, allocations: 31.23 kB / 1.08 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/1.4, allocations: 199.4 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/1.4, allocations: 79.28 kB / 1.08 GB, free: 141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/1.4, allocations: 4.719 kB / 1.08 GB, free: 141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.4, allocations: 345.8 kB / 1.08 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02076/1.421, allocations: 2.104 MB / 1.082 GB, free: 140.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02026/1.441, allocations: 2.181 MB / 1.085 GB, free: 140.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01971/1.461, allocations: 1.946 MB / 1.086 GB, free: 140.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.461, allocations: 3.625 kB / 1.086 GB, free: 140.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04198/1.503, allocations: 4.323 MB / 1.091 GB, free: 139.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/1.503, allocations: 108.6 kB / 1.091 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03407/1.537, allocations: 3.638 MB / 1.094 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/1.538, allocations: 4 kB / 1.094 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/1.554, allocations: 0.9477 MB / 1.095 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/1.554, allocations: 4.703 kB / 1.095 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01595/1.57, allocations: 0.7971 MB / 1.096 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006508/1.571, allocations: 71.88 kB / 1.096 GB, free: 134.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.571, allocations: 4 kB / 1.096 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04293/1.614, allocations: 4.275 MB / 1.1 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03518/1.649, allocations: 3.643 MB / 1.104 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.649, allocations: 11.94 kB / 1.104 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01721/1.667, allocations: 0.9462 MB / 1.105 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/1.667, allocations: 3.984 kB / 1.105 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01586/1.683, allocations: 0.7916 MB / 1.106 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006366/1.683, allocations: 75.88 kB / 1.106 GB, free: 124.5 MB / 0.698 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.0007694/1.684, allocations: 214.9 kB / 1.106 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/1.684, allocations: 35.62 kB / 1.106 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.702, allocations: 1.987 MB / 1.108 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.702, allocations: 4 kB / 1.108 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.702, allocations: 0 / 1.108 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.702, allocations: 0 / 1.108 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.704, allocations: 1.081 MB / 1.109 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0119/1.716, allocations: 1.374 MB / 1.11 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005353/1.721, allocations: 331.2 kB / 1.111 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.721, allocations: 4 kB / 1.111 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/1.721, allocations: 35.89 kB / 1.111 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.721, allocations: 0 / 1.111 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.721, allocations: 7.984 kB / 1.111 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/1.734, allocations: 1.514 MB / 1.112 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/1.735, allocations: 240.3 kB / 1.112 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/1.735, allocations: 11.94 kB / 1.112 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006673/1.742, allocations: 244.8 kB / 1.113 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.742, allocations: 27.83 kB / 1.113 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/1.742, allocations: 27.97 kB / 1.113 GB, free: 117.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003171/1.743, allocations: 231.2 kB / 1.113 GB, free: 117.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.743, allocations: 0 / 1.113 GB, free: 117.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002258/1.745, allocations: 375.8 kB / 1.113 GB, free: 116.8 MB / 0.698 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.0005258/1.746, allocations: 192.8 kB / 1.113 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04008/1.786, allocations: 4.468 MB / 1.118 GB, free: 112.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.786, allocations: 0 / 1.118 GB, free: 112.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005952/1.792, allocations: 0.7204 MB / 1.118 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/1.793, allocations: 91.19 kB / 1.118 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/1.8, allocations: 1.341 MB / 1.12 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/1.8, allocations: 0.7959 MB / 1.121 GB, free: 109.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007716/1.808, allocations: 0.7049 MB / 1.121 GB, free: 108.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/1.809, allocations: 135.2 kB / 1.121 GB, free: 108.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.809, allocations: 4 kB / 1.121 GB, free: 108.4 MB / 0.698 GB Notification: Performance of Templates: time 0.07433/1.884, allocations: 37.8 MB / 1.158 GB, free: 70.48 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)