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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009299/0.0009298, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008855/0.0008856, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005443/0.0005443, allocations: 14.66 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.29, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003105/0.2932, allocations: 2.265 MB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003936/0.2971, allocations: 2.621 MB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.2973, allocations: 7.938 kB / 0.7919 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.2976, allocations: 55.66 kB / 0.7919 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.2982, allocations: 215.3 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.2998, allocations: 0.4934 MB / 0.7926 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.3004, allocations: 379.1 kB / 0.793 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3007, allocations: 90.03 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.3009, allocations: 167.5 kB / 0.7932 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.3011, allocations: 195.2 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.3012, allocations: 20 kB / 0.7934 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008029/0.302, allocations: 363.6 kB / 0.7938 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.3021, allocations: 71.73 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.3022, allocations: 93.52 kB / 0.794 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.3028, allocations: 0.5185 MB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3028, allocations: 0 / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.886e-06/0.3028, allocations: 0 / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3028, allocations: 0 / 0.7945 GB, free: 4.414 MB / 0.6075 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.001096/0.304, allocations: 0.6854 MB / 0.7951 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.304, allocations: 8.031 kB / 0.7951 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08926/0.3933, allocations: 10.6 MB / 0.8055 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.3956, allocations: 0.9119 MB / 0.8064 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.3957, allocations: 24.56 kB / 0.8064 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/0.3961, allocations: 24 kB / 0.8064 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.4105, allocations: 3.555 MB / 0.8099 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.4106, allocations: 0 / 0.8099 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.4109, allocations: 15.94 kB / 0.8099 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4109, allocations: 4 kB / 0.8099 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.4245, allocations: 2.801 MB / 0.8126 GB, free: 1.672 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.4435, allocations: 17.16 MB / 0.8294 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.457, allocations: 2.77 MB / 0.8321 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.4572, allocations: 32.12 kB / 0.8321 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.4572, allocations: 34.5 kB / 0.8322 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 3.517e-06/0.4572, allocations: 0 / 0.8322 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04261/0.4999, allocations: 8.262 MB / 0.8402 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.5, allocations: 71.27 kB / 0.8403 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.5005, allocations: 333.7 kB / 0.8406 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000797/0.5013, allocations: 29.7 kB / 0.8407 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.5017, allocations: 212.3 kB / 0.8409 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000556/0.5023, allocations: 70.91 kB / 0.8409 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.5028, allocations: 4 kB / 0.8409 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.503, allocations: 342.8 kB / 0.8413 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01895/0.5219, allocations: 3.634 MB / 0.8448 GB, free: 13.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01941/0.5414, allocations: 3.68 MB / 0.8484 GB, free: 9.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01907/0.5605, allocations: 3.345 MB / 0.8517 GB, free: 5.992 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.5605, allocations: 3.984 kB / 0.8517 GB, free: 5.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04177/0.6023, allocations: 7.522 MB / 0.859 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.6025, allocations: 101.1 kB / 0.8591 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03896/0.6415, allocations: 6.823 MB / 0.8658 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.084e-05/0.6416, allocations: 7.953 kB / 0.8658 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/0.6562, allocations: 1.697 MB / 0.8674 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.6562, allocations: 4 kB / 0.8674 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01313/0.6694, allocations: 1.287 MB / 0.8687 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/0.6706, allocations: 203.5 kB / 0.8689 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6707, allocations: 4 kB / 0.8689 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04132/0.712, allocations: 7.462 MB / 0.8762 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03605/0.7481, allocations: 6.846 MB / 0.8829 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7482, allocations: 0 / 0.8829 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01441/0.7626, allocations: 1.697 MB / 0.8845 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.7626, allocations: 0 / 0.8845 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/0.7759, allocations: 1.284 MB / 0.8858 GB, free: 3.008 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/0.7773, allocations: 207.5 kB / 0.886 GB, free: 2.805 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.001812/0.7792, allocations: 231.7 kB / 0.8862 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/0.7797, allocations: 31.53 kB / 0.8862 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03253/0.8123, allocations: 6.34 MB / 0.8924 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.8124, allocations: 4 kB / 0.8924 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8124, allocations: 0 / 0.8924 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.8124, allocations: 0 / 0.8924 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006361/0.8187, allocations: 6.491 MB / 0.8988 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02922/0.848, allocations: 5.293 MB / 0.9039 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01208/0.8601, allocations: 1.447 MB / 0.9054 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.8602, allocations: 4 kB / 0.9054 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000671/0.8609, allocations: 179.5 kB / 0.9055 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.8609, allocations: 0 / 0.9055 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8609, allocations: 4 kB / 0.9055 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02891/0.8898, allocations: 5.429 MB / 0.9108 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/0.8916, allocations: 0.5621 MB / 0.9114 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007405/0.8924, allocations: 8 kB / 0.9114 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01087/0.9033, allocations: 1.085 MB / 0.9124 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.9035, allocations: 43.91 kB / 0.9125 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007219/0.9043, allocations: 179.5 kB / 0.9127 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003466/0.9046, allocations: 227.2 kB / 0.9129 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9046, allocations: 0 / 0.9129 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0034/0.908, allocations: 0.5895 MB / 0.9135 GB, free: 5.105 MB / 0.7325 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 (34): * Single equations (assignments): 34 * 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.0008855/0.909, allocations: 178.1 kB / 0.9136 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.5079/1.417, allocations: 9.653 MB / 0.9231 GB, free: 137.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.417, allocations: 0 / 0.9231 GB, free: 137.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01366/1.431, allocations: 2.738 MB / 0.9257 GB, free: 137.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/1.431, allocations: 78.31 kB / 0.9258 GB, free: 137.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.445, allocations: 3.197 MB / 0.9289 GB, free: 137.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/1.446, allocations: 0.8 MB / 0.9297 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.01019/1.456, allocations: 1.639 MB / 0.9313 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002699/1.458, allocations: 0.4995 MB / 0.9318 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/1.458, allocations: 4 kB / 0.9318 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.1074/1.566, allocations: 79.25 MB / 1.009 GB, free: 69.86 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: