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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, allocations: 251 MB / 265.9 MB, free: 11.74 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.001535/0.001535, allocations: 181.2 kB / 325.5 MB, free: 2.914 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.258/2.258, allocations: 205.4 MB / 0.5764 GB, free: 20.89 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.001177/0.001176, allocations: 94.47 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004908, allocations: 12.09 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2167, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.4526, allocations: 139.6 MB / 1.035 GB, free: 5.727 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.453, allocations: 99.88 kB / 1.035 GB, free: 5.629 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.07429/0.5273, allocations: 16.13 MB / 1.051 GB, free: 5.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5274, allocations: 0 / 1.051 GB, free: 5.418 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.395e-05/0.5274, allocations: 8 kB / 1.051 GB, free: 5.41 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.00182/0.5293, allocations: 0.7126 MB / 1.052 GB, free: 4.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5293, allocations: 8.031 kB / 1.052 GB, free: 4.637 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.521e-05/0.5294, allocations: 58.77 kB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8035/1.333, allocations: 11.08 MB / 1.063 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03886/1.372, allocations: 2.505 MB / 1.065 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.782e-05/1.372, allocations: 19.28 kB / 1.065 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/1.373, allocations: 28.81 kB / 1.065 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/1.389, allocations: 1.514 MB / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.389, allocations: 0 / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/1.389, allocations: 10.41 kB / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/1.389, allocations: 5.781 kB / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/1.403, allocations: 1.287 MB / 1.068 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/1.417, allocations: 5.481 MB / 1.073 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/1.431, allocations: 1.227 MB / 1.074 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/1.432, allocations: 34.47 kB / 1.074 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.432, allocations: 35.39 kB / 1.074 GB, free: 141.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 4.008e-06/1.432, allocations: 5.031 kB / 1.074 GB, free: 141.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.03681/1.468, allocations: 3.507 MB / 1.078 GB, free: 141.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.469, allocations: 56.03 kB / 1.078 GB, free: 141.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/1.469, allocations: 295.5 kB / 1.078 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006351/1.47, allocations: 31.48 kB / 1.078 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/1.47, allocations: 195.9 kB / 1.078 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/1.47, allocations: 76.44 kB / 1.078 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004524/1.471, allocations: 5.188 kB / 1.078 GB, free: 140.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.471, allocations: 350.8 kB / 1.079 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02101/1.492, allocations: 2.109 MB / 1.081 GB, free: 140.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02031/1.512, allocations: 2.176 MB / 1.083 GB, free: 140.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01962/1.532, allocations: 1.948 MB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.532, allocations: 0.9375 kB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04265/1.575, allocations: 4.326 MB / 1.089 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/1.575, allocations: 188.7 kB / 1.089 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03384/1.609, allocations: 3.639 MB / 1.093 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.609, allocations: 3.094 kB / 1.093 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01669/1.625, allocations: 0.9466 MB / 1.094 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/1.626, allocations: 4 kB / 1.094 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01571/1.641, allocations: 0.8015 MB / 1.095 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006189/1.642, allocations: 71.88 kB / 1.095 GB, free: 134.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.642, allocations: 4 kB / 1.095 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04105/1.683, allocations: 4.275 MB / 1.099 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03352/1.717, allocations: 3.644 MB / 1.102 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.717, allocations: 4.75 kB / 1.102 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01663/1.733, allocations: 0.9434 MB / 1.103 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.733, allocations: 9.047 kB / 1.103 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01564/1.749, allocations: 0.7965 MB / 1.104 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007017/1.75, allocations: 71.89 kB / 1.104 GB, free: 125.2 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.0007569/1.751, allocations: 222.3 kB / 1.104 GB, free: 125 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/1.751, allocations: 31.62 kB / 1.104 GB, free: 125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.767, allocations: 1.987 MB / 1.106 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.767, allocations: 4 kB / 1.106 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.767, allocations: 3.953 kB / 1.106 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/1.767, allocations: 0 / 1.106 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/1.769, allocations: 1.085 MB / 1.107 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01142/1.78, allocations: 1.372 MB / 1.109 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005277/1.785, allocations: 336.4 kB / 1.109 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.609e-06/1.786, allocations: 0 / 1.109 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.786, allocations: 23.97 kB / 1.109 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.786, allocations: 3.953 kB / 1.109 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.786, allocations: 4 kB / 1.109 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.798, allocations: 1.514 MB / 1.111 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/1.798, allocations: 235.3 kB / 1.111 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/1.799, allocations: 8 kB / 1.111 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004839/1.803, allocations: 243.8 kB / 1.111 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.804, allocations: 33.02 kB / 1.111 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.804, allocations: 31.95 kB / 1.111 GB, free: 118 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003164/1.804, allocations: 231.2 kB / 1.111 GB, free: 117.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.804, allocations: 0 / 1.111 GB, free: 117.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002195/1.806, allocations: 371.7 kB / 1.112 GB, free: 117.5 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.01278/1.819, allocations: 2.14 MB / 1.114 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04/1.859, allocations: 4.472 MB / 1.118 GB, free: 110.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.859, allocations: 4 kB / 1.118 GB, free: 110.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006486/1.866, allocations: 0.7167 MB / 1.119 GB, free: 110.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/1.866, allocations: 88.48 kB / 1.119 GB, free: 110.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/1.874, allocations: 1.805 MB / 1.121 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.875, allocations: 0.8081 MB / 1.121 GB, free: 107.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007802/1.882, allocations: 0.7039 MB / 1.122 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/1.884, allocations: 235.2 kB / 1.122 GB, free: 106.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/1.884, allocations: 0 / 1.122 GB, free: 106.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09431/1.979, allocations: 41.15 MB / 1.163 GB, free: 65.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.979, allocations: 194.1 kB / 1.163 GB, free: 65.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.475/8.454, allocations: 1.562 kB / 1.163 GB, free: 65.2 MB / 0.698 GB