Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck",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.401/2.401, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.00151/0.001509, allocations: 182.6 kB / 315.4 MB, free: 3.992 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.036/2.036, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001082/0.001082, allocations: 90.05 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.577e-05/4.59e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.221, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.204/7.425, allocations: 2.208 GB / 3.092 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/7.426, allocations: 75.39 kB / 3.092 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1076/7.533, allocations: 29.07 MB / 3.121 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.393e-06/7.533, allocations: 0 / 3.121 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.251e-06/7.533, allocations: 0 / 3.121 GB, free: 137.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004376/7.534, allocations: 381.4 kB / 3.121 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/7.534, allocations: 8.031 kB / 3.121 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/7.534, allocations: 35.25 kB / 3.121 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.013e-05/7.534, allocations: 171 kB / 3.121 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/7.534, allocations: 3.984 kB / 3.121 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/7.535, allocations: 15.98 kB / 3.121 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001443/7.535, allocations: 30.98 kB / 3.121 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/7.535, allocations: 66.39 kB / 3.121 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/7.535, allocations: 0 / 3.121 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/7.535, allocations: 7.953 kB / 3.121 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/7.535, allocations: 3.938 kB / 3.121 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/7.535, allocations: 157.5 kB / 3.121 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/7.535, allocations: 85.64 kB / 3.121 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/7.535, allocations: 20.8 kB / 3.121 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/7.536, allocations: 178.1 kB / 3.122 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/7.536, allocations: 34.56 kB / 3.122 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.993e-06/7.536, allocations: 0 / 3.122 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.00168/7.537, allocations: 491 kB / 3.122 GB, free: 136 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/7.537, allocations: 55.41 kB / 3.122 GB, free: 136 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/7.538, allocations: 92.44 kB / 3.122 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/7.538, allocations: 25.83 kB / 3.122 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/7.538, allocations: 84.52 kB / 3.122 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/7.538, allocations: 66.19 kB / 3.122 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/7.538, allocations: 0 / 3.122 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/7.538, allocations: 330.1 kB / 3.123 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/7.538, allocations: 30.69 kB / 3.123 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.85e-05/7.538, allocations: 61.73 kB / 3.123 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/7.538, allocations: 46.45 kB / 3.123 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/7.538, allocations: 0 / 3.123 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002699/7.538, allocations: 130.2 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/7.538, allocations: 9.719 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/7.538, allocations: 0 / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/7.538, allocations: 0 / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/7.539, allocations: 39.92 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/7.539, allocations: 4 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/7.539, allocations: 3.984 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/7.539, allocations: 7.875 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 7.888e-05/7.539, allocations: 116.9 kB / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002138/7.539, allocations: 114.3 kB / 3.123 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/7.539, allocations: 4 kB / 3.123 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/7.539, allocations: 15.72 kB / 3.123 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/7.539, allocations: 4 kB / 3.123 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/7.539, allocations: 0 / 3.123 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/7.539, allocations: 3.984 kB / 3.123 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/7.54, allocations: 165 kB / 3.123 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/7.54, allocations: 3.938 kB / 3.123 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/7.54, allocations: 43.42 kB / 3.124 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/7.54, allocations: 0 / 3.124 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/7.54, allocations: 3.938 kB / 3.124 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/7.54, allocations: 0 / 3.124 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.54, allocations: 3.984 kB / 3.124 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/7.54, allocations: 193.6 kB / 3.124 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/7.54, allocations: 85.09 kB / 3.124 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/7.54, allocations: 4 kB / 3.124 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/7.541, allocations: 7.984 kB / 3.124 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/7.541, allocations: 15.36 kB / 3.124 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/7.541, allocations: 4 kB / 3.124 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.548e-05/7.541, allocations: 78.66 kB / 3.124 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/7.541, allocations: 0 / 3.124 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004051/7.541, allocations: 54.05 kB / 3.124 GB, free: 134.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001309/7.543, allocations: 1.269 MB / 3.125 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002572/7.543, allocations: 90.73 kB / 3.125 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/7.543, allocations: 0 / 3.125 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/7.543, allocations: 50.86 kB / 3.125 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/7.543, allocations: 8.422 kB / 3.125 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/7.544, allocations: 494.5 kB / 3.126 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/7.545, allocations: 0.7047 MB / 3.126 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002185/7.545, allocations: 24.75 kB / 3.127 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/7.545, allocations: 23.12 kB / 3.127 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.122e-06/7.545, allocations: 0 / 3.127 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/7.594, allocations: 6.161 MB / 3.133 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/7.595, allocations: 135.4 kB / 3.133 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/10.11, allocations: 0 / 3.133 GB, free: 125.2 MB / 0.8698 GB