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.194/2.194, allocations: 248.5 MB / 261.1 MB, free: 5.969 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.001419/0.001418, allocations: 184.8 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.1 MB / 0.571 GB, free: 11.81 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.001167/0.001167, allocations: 93.36 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.986e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.876/1.092, allocations: 139.5 MB / 1.027 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/1.093, allocations: 96 kB / 1.027 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07572/1.169, allocations: 16.11 MB / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.773e-06/1.169, allocations: 0 / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.01e-05/1.169, allocations: 12 kB / 1.043 GB, free: 14 MB / 0.6667 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.001499/1.17, allocations: 0.6508 MB / 1.043 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/1.17, allocations: 8.031 kB / 1.043 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.398e-05/1.17, allocations: 64.34 kB / 1.043 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2209/1.391, allocations: 11.06 MB / 1.054 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02912/1.421, allocations: 2.493 MB / 1.057 GB, free: 80 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/1.421, allocations: 22.62 kB / 1.057 GB, free: 68 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000614/1.421, allocations: 30.69 kB / 1.057 GB, free: 44 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/1.424, allocations: 0.9582 MB / 1.058 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/1.424, allocations: 4 kB / 1.058 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/1.424, allocations: 7 kB / 1.058 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/1.424, allocations: 8 kB / 1.058 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/1.426, allocations: 0.7082 MB / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009118/1.435, allocations: 5.483 MB / 1.064 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/1.437, allocations: 0.6762 MB / 1.064 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/1.439, allocations: 0.5355 MB / 1.065 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/1.439, allocations: 31.09 kB / 1.065 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.439, allocations: 42.08 kB / 1.065 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.447e-06/1.439, allocations: 4 kB / 1.065 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.003915/1.443, allocations: 1.106 MB / 1.066 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.443, allocations: 55.41 kB / 1.066 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/1.443, allocations: 287.6 kB / 1.066 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/1.444, allocations: 29.64 kB / 1.066 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/1.444, allocations: 200.8 kB / 1.067 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/1.444, allocations: 69.8 kB / 1.067 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/1.445, allocations: 3.812 kB / 1.067 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.445, allocations: 348.2 kB / 1.067 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003003/1.448, allocations: 1.061 MB / 1.068 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/1.451, allocations: 1.119 MB / 1.069 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/1.455, allocations: 0.9037 MB / 1.07 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.455, allocations: 0 / 1.07 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.007715/1.462, allocations: 2.232 MB / 1.072 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.463, allocations: 188.9 kB / 1.072 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005965/1.468, allocations: 1.861 MB / 1.074 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/1.469, allocations: 0 / 1.074 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01699/1.486, allocations: 0.9543 MB / 1.075 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.486, allocations: 4 kB / 1.075 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01597/1.502, allocations: 0.7949 MB / 1.076 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005841/1.502, allocations: 75.31 kB / 1.076 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.502, allocations: 4 kB / 1.076 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00732/1.51, allocations: 2.186 MB / 1.078 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006317/1.516, allocations: 1.875 MB / 1.08 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.516, allocations: 4 kB / 1.08 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0171/1.533, allocations: 0.9442 MB / 1.081 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/1.533, allocations: 7.953 kB / 1.081 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01592/1.549, allocations: 0.7958 MB / 1.082 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005855/1.55, allocations: 71.89 kB / 1.082 GB, free: 11.78 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 () * 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.0005688/1.55, allocations: 120.9 kB / 1.082 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/1.551, allocations: 35.53 kB / 1.082 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006895/1.558, allocations: 1.355 MB / 1.083 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.558, allocations: 4 kB / 1.083 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.558, allocations: 3.953 kB / 1.083 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.558, allocations: 7.938 kB / 1.083 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/1.56, allocations: 1.09 MB / 1.084 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002395/1.562, allocations: 0.7635 MB / 1.085 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005794/1.568, allocations: 327.6 kB / 1.085 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/1.568, allocations: 4 kB / 1.085 GB, free: 7.926 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/1.568, allocations: 31.95 kB / 1.085 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/1.568, allocations: 7.953 kB / 1.085 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.568, allocations: 0 / 1.085 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/1.571, allocations: 0.8934 MB / 1.086 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/1.571, allocations: 236.4 kB / 1.087 GB, free: 6.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/1.572, allocations: 12 kB / 1.087 GB, free: 6.715 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004951/1.577, allocations: 239.8 kB / 1.087 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.577, allocations: 35.72 kB / 1.087 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/1.577, allocations: 27.95 kB / 1.087 GB, free: 6.418 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003926/1.577, allocations: 226.2 kB / 1.087 GB, free: 6.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.577, allocations: 0 / 1.087 GB, free: 6.199 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002285/1.58, allocations: 371.6 kB / 1.087 GB, free: 5.836 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.003455/1.583, allocations: 1.536 MB / 1.089 GB, free: 4.273 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007902/1.591, allocations: 2.408 MB / 1.091 GB, free: 1.867 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.591, allocations: 0 / 1.091 GB, free: 1.867 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.592, allocations: 423.6 kB / 1.092 GB, free: 1.453 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/1.593, allocations: 79.06 kB / 1.092 GB, free: 1.379 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.596, allocations: 0.7579 MB / 1.092 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/1.596, allocations: 0.8121 MB / 1.093 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007857/1.604, allocations: 0.723 MB / 1.094 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.606, allocations: 227.2 kB / 1.094 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.606, allocations: 0 / 1.094 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/1.716, allocations: 41.85 MB / 1.135 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/1.716, allocations: 175.4 kB / 1.135 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/8.518, allocations: 0 / 1.135 GB, free: 4.734 MB / 0.7448 GB