Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadModel(Buildings): time 3.868/3.868, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/2.015e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5548, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.8004, allocations: 131.7 MB / 0.7576 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.8007, allocations: 95.77 kB / 0.7577 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06902/0.8698, allocations: 15.88 MB / 0.7732 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.308e-06/0.8698, allocations: 0 / 0.7732 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.8698, allocations: 12 kB / 0.7732 GB, free: 11.75 MB / 0.6511 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.001174/0.871, allocations: 0.6449 MB / 0.7738 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.8711, allocations: 16.03 kB / 0.7738 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1086/0.9797, allocations: 11.06 MB / 0.7846 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01736/0.9971, allocations: 2.497 MB / 0.7871 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.9972, allocations: 12 kB / 0.7871 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.9977, allocations: 16 kB / 0.7871 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001722/0.9994, allocations: 0.6925 MB / 0.7878 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/1.002, allocations: 0.9282 MB / 0.7887 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.002, allocations: 3.938 kB / 0.7887 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/1.002, allocations: 0 / 0.7887 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/1.002, allocations: 11.95 kB / 0.7887 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/1.011, allocations: 5.425 MB / 0.794 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.013, allocations: 0.6939 MB / 0.7947 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/1.014, allocations: 0.5321 MB / 0.7952 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/1.014, allocations: 31.98 kB / 0.7952 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.014, allocations: 30.56 kB / 0.7952 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=22): time 4.122e-06/1.014, allocations: 4 kB / 0.7952 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of matching and sorting (n=22): time 0.009504/1.024, allocations: 1.838 MB / 0.797 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.024, allocations: 51.41 kB / 0.7971 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/1.024, allocations: 241.3 kB / 0.7973 GB, free: 1.867 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/1.025, allocations: 25.7 kB / 0.7973 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/1.025, allocations: 208.5 kB / 0.7975 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/1.025, allocations: 78.94 kB / 0.7976 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/1.025, allocations: 0 / 0.7976 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.026, allocations: 334.8 kB / 0.7979 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/1.028, allocations: 1.062 MB / 0.799 GB, free: 152 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4532/1.481, allocations: 1.115 MB / 0.8001 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03124/1.513, allocations: 2.391 MB / 0.8024 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/1.513, allocations: 0 / 0.8024 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03084/1.544, allocations: 3.715 MB / 0.806 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/1.544, allocations: 97.69 kB / 0.8061 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01817/1.562, allocations: 3.292 MB / 0.8093 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.562, allocations: 6.859 kB / 0.8093 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009151/1.571, allocations: 0.9456 MB / 0.8103 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.571, allocations: 8.016 kB / 0.8103 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/1.581, allocations: 0.7889 MB / 0.811 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/1.582, allocations: 73.7 kB / 0.8111 GB, free: 157 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.582, allocations: 5.5 kB / 0.8111 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01936/1.601, allocations: 3.646 MB / 0.8147 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01753/1.619, allocations: 3.289 MB / 0.8179 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.619, allocations: 3.953 kB / 0.8179 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/1.629, allocations: 0.9458 MB / 0.8188 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.863e-06/1.629, allocations: 3.906 kB / 0.8188 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008904/1.638, allocations: 0.7829 MB / 0.8196 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004149/1.639, allocations: 71.42 kB / 0.8196 GB, free: 155.1 MB / 0.6667 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 () * 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.000426/1.639, allocations: 107.9 kB / 0.8197 GB, free: 155 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/1.639, allocations: 31.62 kB / 0.8198 GB, free: 155 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008582/1.648, allocations: 1.779 MB / 0.8215 GB, free: 154 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.648, allocations: 11.61 kB / 0.8215 GB, free: 154 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.399e-06/1.648, allocations: 0 / 0.8215 GB, free: 154 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.282e-06/1.648, allocations: 0 / 0.8215 GB, free: 154 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/1.649, allocations: 1.035 MB / 0.8225 GB, free: 153 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004964/1.654, allocations: 1.17 MB / 0.8237 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/1.657, allocations: 335.9 kB / 0.824 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.657, allocations: 4 kB / 0.824 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/1.657, allocations: 25.84 kB / 0.824 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/1.657, allocations: 0 / 0.824 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.132e-06/1.657, allocations: 3.828 kB / 0.824 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/1.663, allocations: 1.313 MB / 0.8253 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/1.663, allocations: 110.1 kB / 0.8254 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/1.663, allocations: 0 / 0.8254 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/1.666, allocations: 241.6 kB / 0.8257 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/1.666, allocations: 26.97 kB / 0.8257 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.666, allocations: 32.39 kB / 0.8257 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002075/1.666, allocations: 186.1 kB / 0.8259 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.64e-07/1.666, allocations: 0 / 0.8259 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001781/1.668, allocations: 357.6 kB / 0.8262 GB, free: 149.9 MB / 0.6667 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 () * 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.0004262/1.668, allocations: 198.9 kB / 0.8264 GB, free: 149.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005051/1.673, allocations: 2.392 MB / 0.8288 GB, free: 147.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.673, allocations: 0 / 0.8288 GB, free: 147.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008422/1.674, allocations: 413.7 kB / 0.8291 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/1.675, allocations: 52.47 kB / 0.8292 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/1.676, allocations: 0.6366 MB / 0.8298 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/1.676, allocations: 0.8039 MB / 0.8306 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.005901/1.682, allocations: 0.723 MB / 0.8313 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/1.684, allocations: 127.5 kB / 0.8314 GB, free: 145 MB / 0.6667 GB Notification: Performance of SimCode: time 2.779e-06/1.684, allocations: 0 / 0.8314 GB, free: 145 MB / 0.6667 GB Notification: Performance of Templates: time 0.06075/1.744, allocations: 36.36 MB / 0.8669 GB, free: 109.2 MB / 0.6667 GB