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.271/2.271, allocations: 251 MB / 265.9 MB, free: 11.68 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.001476/0.001476, allocations: 180.9 kB / 325.5 MB, free: 2.895 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.388/2.388, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001204/0.001204, allocations: 95.44 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006253/0.0006253, allocations: 11.91 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2401, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.764/7.004, allocations: 2.171 GB / 3.07 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/7.004, allocations: 80.33 kB / 3.07 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7754/7.78, allocations: 36.66 MB / 3.106 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/7.78, allocations: 4 kB / 3.106 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.634e-06/7.78, allocations: 1.438 kB / 3.106 GB, free: 326.6 MB / 0.8855 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.0003981/7.78, allocations: 352.1 kB / 3.106 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/7.78, allocations: 8.469 kB / 3.106 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/7.78, allocations: 31.62 kB / 3.106 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/7.781, allocations: 28.64 kB / 3.106 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/7.781, allocations: 162.7 kB / 3.107 GB, free: 326 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/7.781, allocations: 33.59 kB / 3.107 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/7.781, allocations: 5.25 kB / 3.107 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/7.781, allocations: 47.39 kB / 3.107 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/7.781, allocations: 0 / 3.107 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/7.781, allocations: 4.531 kB / 3.107 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/7.781, allocations: 0.9688 kB / 3.107 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.701e-05/7.781, allocations: 21.64 kB / 3.107 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/7.782, allocations: 260.5 kB / 3.107 GB, free: 325.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/7.782, allocations: 27.78 kB / 3.107 GB, free: 325.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/7.782, allocations: 91.16 kB / 3.107 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/7.782, allocations: 35.88 kB / 3.107 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/7.782, allocations: 0 / 3.107 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002845/7.782, allocations: 58.09 kB / 3.107 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/7.782, allocations: 56.53 kB / 3.107 GB, free: 325.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/7.782, allocations: 92.36 kB / 3.107 GB, free: 325.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/7.782, allocations: 27.23 kB / 3.107 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/7.782, allocations: 91.11 kB / 3.107 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/7.782, allocations: 3.906 kB / 3.107 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/7.782, allocations: 1.438 kB / 3.107 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/7.782, allocations: 314.2 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/7.782, allocations: 11.72 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/7.783, allocations: 21.88 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/7.783, allocations: 12.59 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/7.783, allocations: 1.281 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/7.783, allocations: 51.8 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/7.783, allocations: 12.06 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/7.783, allocations: 3.984 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/7.783, allocations: 1.375 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/7.783, allocations: 5.562 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/7.783, allocations: 5.391 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/7.783, allocations: 3.422 kB / 3.108 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/7.783, allocations: 2.625 kB / 3.108 GB, free: 324.8 MB / 0.8855 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 () * Number of clocked 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 6.692e-05/7.783, allocations: 110.3 kB / 3.108 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/7.783, allocations: 6.406 kB / 3.108 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/7.783, allocations: 7.125 kB / 3.108 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/7.783, allocations: 1.406 kB / 3.108 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.783, allocations: 0 / 3.108 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/7.783, allocations: 4.234 kB / 3.108 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/7.783, allocations: 365.9 kB / 3.108 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/7.783, allocations: 3.422 kB / 3.108 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/7.784, allocations: 3.938 kB / 3.108 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/7.784, allocations: 8.047 kB / 3.108 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/7.784, allocations: 1.375 kB / 3.108 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/7.784, allocations: 11.64 kB / 3.108 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/7.784, allocations: 9.281 kB / 3.108 GB, free: 324.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.718e-05/7.784, allocations: 81.64 kB / 3.108 GB, free: 324.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/7.784, allocations: 77.11 kB / 3.108 GB, free: 324 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/7.784, allocations: 9.359 kB / 3.108 GB, free: 324 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/7.784, allocations: 4.125 kB / 3.108 GB, free: 324 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/7.784, allocations: 4.641 kB / 3.108 GB, free: 324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/7.784, allocations: 1.344 kB / 3.108 GB, free: 324 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.374e-05/7.784, allocations: 79 kB / 3.109 GB, free: 324 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/7.784, allocations: 0 / 3.109 GB, free: 324 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004024/7.784, allocations: 43.39 kB / 3.109 GB, free: 324 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.001097/7.785, allocations: 1.135 MB / 3.11 GB, free: 323.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001356/7.786, allocations: 12.94 kB / 3.11 GB, free: 323.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/7.786, allocations: 1.219 kB / 3.11 GB, free: 323.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/7.786, allocations: 6.969 kB / 3.11 GB, free: 323.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/7.786, allocations: 13.11 kB / 3.11 GB, free: 323.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/7.786, allocations: 168.9 kB / 3.11 GB, free: 323 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/7.787, allocations: 0.6782 MB / 3.111 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.657e-05/7.787, allocations: 11.16 kB / 3.111 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/7.787, allocations: 8.812 kB / 3.111 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/7.787, allocations: 0.8438 kB / 3.111 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/7.825, allocations: 10.18 MB / 3.121 GB, free: 321.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003274/7.825, allocations: 195.2 kB / 3.121 GB, free: 321.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/10.69, allocations: 4 kB / 3.121 GB, free: 321.2 MB / 0.8855 GB