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.17/2.17, allocations: 248.7 MB / 256.2 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001458, allocations: 180.8 kB / 315.4 MB, free: 4.039 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.066/2.066, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.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: 88.42 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.658e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9037/1.122, allocations: 139.8 MB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.122, allocations: 91.8 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07381/1.196, allocations: 15.95 MB / 1.036 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/1.196, allocations: 0 / 1.036 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.364e-05/1.196, allocations: 8 kB / 1.036 GB, free: 2.203 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.001385/1.197, allocations: 0.6532 MB / 1.037 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.813e-05/1.197, allocations: 8.031 kB / 1.037 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1914/1.389, allocations: 11.07 MB / 1.048 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02873/1.418, allocations: 2.496 MB / 1.05 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/1.418, allocations: 8 kB / 1.05 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006227/1.418, allocations: 16 kB / 1.05 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001833/1.42, allocations: 0.6966 MB / 1.051 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/1.423, allocations: 0.9273 MB / 1.052 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.423, allocations: 0 / 1.052 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/1.423, allocations: 0 / 1.052 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/1.423, allocations: 11.95 kB / 1.052 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009436/1.432, allocations: 5.431 MB / 1.057 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.434, allocations: 0.6893 MB / 1.058 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/1.435, allocations: 0.5311 MB / 1.058 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/1.436, allocations: 34.11 kB / 1.058 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.436, allocations: 34.5 kB / 1.058 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/1.436, allocations: 0 / 1.058 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.01208/1.448, allocations: 1.847 MB / 1.06 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.448, allocations: 55.41 kB / 1.06 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/1.448, allocations: 238 kB / 1.06 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003335/1.449, allocations: 25.7 kB / 1.06 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/1.449, allocations: 207.4 kB / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/1.449, allocations: 68.7 kB / 1.061 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/1.449, allocations: 0 / 1.061 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.45, allocations: 343 kB / 1.061 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/1.452, allocations: 1.056 MB / 1.062 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/1.455, allocations: 1.122 MB / 1.063 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02025/1.475, allocations: 2.389 MB / 1.065 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.476, allocations: 0 / 1.065 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02482/1.5, allocations: 3.707 MB / 1.069 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/1.5, allocations: 100.8 kB / 1.069 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02318/1.524, allocations: 3.288 MB / 1.072 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.216e-05/1.524, allocations: 0 / 1.072 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01676/1.541, allocations: 0.9546 MB / 1.073 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/1.541, allocations: 8 kB / 1.073 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0156/1.556, allocations: 0.7831 MB / 1.074 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006014/1.557, allocations: 75.81 kB / 1.074 GB, free: 400 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.557, allocations: 5.562 kB / 1.074 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02482/1.582, allocations: 3.644 MB / 1.078 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02254/1.604, allocations: 3.292 MB / 1.081 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.604, allocations: 7.938 kB / 1.081 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0164/1.621, allocations: 0.9434 MB / 1.082 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.621, allocations: 0 / 1.082 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01535/1.636, allocations: 0.7866 MB / 1.083 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/1.637, allocations: 75.75 kB / 1.083 GB, free: 9.402 MB / 0.698 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.0005327/1.637, allocations: 108.9 kB / 1.083 GB, free: 9.289 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0118/1.649, allocations: 1.83 MB / 1.085 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/1.65, allocations: 27.62 kB / 1.085 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.661, allocations: 1.763 MB / 1.086 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.661, allocations: 7.984 kB / 1.086 GB, free: 6.473 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.661, allocations: 4 kB / 1.086 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/1.661, allocations: 3.984 kB / 1.086 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/1.663, allocations: 1.036 MB / 1.087 GB, free: 5.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006867/1.67, allocations: 1.171 MB / 1.089 GB, free: 4.613 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005298/1.675, allocations: 333.6 kB / 1.089 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/1.675, allocations: 4 kB / 1.089 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.675, allocations: 23.95 kB / 1.089 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.675, allocations: 7.938 kB / 1.089 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.675, allocations: 0 / 1.089 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/1.682, allocations: 1.313 MB / 1.09 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/1.683, allocations: 226.3 kB / 1.09 GB, free: 3.039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/1.683, allocations: 0 / 1.09 GB, free: 3.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004699/1.688, allocations: 246.6 kB / 1.091 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/1.688, allocations: 23.34 kB / 1.091 GB, free: 2.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.688, allocations: 27.91 kB / 1.091 GB, free: 2.754 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002648/1.688, allocations: 188.6 kB / 1.091 GB, free: 2.602 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.688, allocations: 0 / 1.091 GB, free: 2.602 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002136/1.69, allocations: 367.4 kB / 1.091 GB, free: 2.242 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 () * 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.007799/1.698, allocations: 1.93 MB / 1.093 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006989/1.705, allocations: 2.391 MB / 1.095 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.705, allocations: 4 kB / 1.095 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/1.707, allocations: 411.8 kB / 1.096 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/1.707, allocations: 53.17 kB / 1.096 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/1.71, allocations: 0.7289 MB / 1.097 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/1.71, allocations: 0.8078 MB / 1.097 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007705/1.718, allocations: 0.7185 MB / 1.098 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.72, allocations: 231.2 kB / 1.098 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of SimCode: time 1.373e-06/1.72, allocations: 0 / 1.098 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/1.866, allocations: 39.21 MB / 1.137 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/1.867, allocations: 161.7 kB / 1.137 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.501/8.368, allocations: 4 kB / 1.137 GB, free: 3.332 MB / 0.7448 GB