Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.294/2.294, allocations: 248.7 MB / 256.2 MB, free: 7.113 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.001455/0.001454, allocations: 171.6 kB / 315.4 MB, free: 4.035 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.134/2.134, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.001174/0.001173, allocations: 78.06 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.263e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2261, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.279/7.506, allocations: 2.172 GB / 3.056 GB, free: 182 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/7.506, allocations: 71.47 kB / 3.056 GB, free: 182 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1174/7.623, allocations: 35.99 MB / 3.091 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/7.623, allocations: 0 / 3.091 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.424e-06/7.623, allocations: 0 / 3.091 GB, free: 152.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003764/7.624, allocations: 342 kB / 3.091 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/7.624, allocations: 8.031 kB / 3.091 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/7.624, allocations: 27.91 kB / 3.091 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/7.624, allocations: 163 kB / 3.091 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/7.624, allocations: 33.69 kB / 3.091 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/7.624, allocations: 4 kB / 3.091 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.582e-05/7.625, allocations: 15.38 kB / 3.091 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.748e-05/7.625, allocations: 45.36 kB / 3.091 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/7.625, allocations: 3.953 kB / 3.091 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/7.625, allocations: 0 / 3.091 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/7.625, allocations: 4 kB / 3.091 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/7.625, allocations: 332.8 kB / 3.092 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.513e-05/7.625, allocations: 18.52 kB / 3.092 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/7.625, allocations: 8.922 kB / 3.092 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/7.625, allocations: 0 / 3.092 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/7.625, allocations: 38.45 kB / 3.092 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/7.625, allocations: 0 / 3.092 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002258/7.626, allocations: 37.7 kB / 3.092 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/7.626, allocations: 58.89 kB / 3.092 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/7.626, allocations: 96.44 kB / 3.092 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/7.626, allocations: 25.7 kB / 3.092 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/7.626, allocations: 87.98 kB / 3.092 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-06/7.626, allocations: 7.906 kB / 3.092 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/7.626, allocations: 0 / 3.092 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/7.626, allocations: 322.5 kB / 3.092 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/7.626, allocations: 7.938 kB / 3.092 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/7.626, allocations: 18.58 kB / 3.092 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/7.626, allocations: 7.625 kB / 3.092 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/7.626, allocations: 0 / 3.092 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.547e-05/7.626, allocations: 53.69 kB / 3.092 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/7.626, allocations: 6.656 kB / 3.092 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/7.626, allocations: 0 / 3.092 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/7.626, allocations: 3.953 kB / 3.092 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/7.626, allocations: 11.98 kB / 3.093 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/7.626, allocations: 0 / 3.093 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/7.626, allocations: 256 / 3.093 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/7.626, allocations: 7.938 kB / 3.093 GB, free: 150.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.792e-05/7.626, allocations: 104.4 kB / 3.093 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.826e-05/7.627, allocations: 45.67 kB / 3.093 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/7.627, allocations: 7.859 kB / 3.093 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/7.627, allocations: 7.797 kB / 3.093 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/7.627, allocations: 7.969 kB / 3.093 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/7.627, allocations: 4 kB / 3.093 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/7.627, allocations: 0 / 3.093 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/7.627, allocations: 314.9 kB / 3.093 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/7.627, allocations: 7.953 kB / 3.093 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/7.627, allocations: 64 / 3.093 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/7.627, allocations: 4 kB / 3.093 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/7.627, allocations: 0 / 3.093 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/7.627, allocations: 0 / 3.093 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/7.627, allocations: 0 / 3.093 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/7.627, allocations: 64.62 kB / 3.093 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/7.627, allocations: 81.06 kB / 3.093 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/7.627, allocations: 0 / 3.093 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/7.627, allocations: 8.031 kB / 3.093 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/7.627, allocations: 0 / 3.093 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/7.627, allocations: 7.984 kB / 3.093 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.754e-05/7.627, allocations: 86.78 kB / 3.093 GB, free: 150 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/7.627, allocations: 0 / 3.093 GB, free: 150 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003531/7.628, allocations: 29.86 kB / 3.093 GB, free: 150 MB / 0.8698 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 (1): * Single equations (assignments): 1 * 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.001055/7.629, allocations: 1.145 MB / 3.094 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001232/7.629, allocations: 15.38 kB / 3.094 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/7.629, allocations: 0 / 3.094 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/7.629, allocations: 4 kB / 3.094 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/7.629, allocations: 3.984 kB / 3.094 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/7.63, allocations: 97.03 kB / 3.094 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/7.63, allocations: 0.6768 MB / 3.095 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.473e-05/7.63, allocations: 12.23 kB / 3.095 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/7.63, allocations: 7.438 kB / 3.095 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.675e-06/7.63, allocations: 0 / 3.095 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04328/7.673, allocations: 5.22 MB / 3.1 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/7.674, allocations: 145.1 kB / 3.1 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/10.24, allocations: 4 kB / 3.1 GB, free: 142.5 MB / 0.8698 GB