Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.178/2.178, allocations: 248.5 MB / 261 MB, free: 6.043 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.001523/0.001523, allocations: 190.5 kB / 320.4 MB, free: 15.36 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.972/1.972, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001131/0.00113, allocations: 105.5 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.609e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2426, allocations: 106.2 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.042/2.285, allocations: 417.3 MB / 1.298 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/2.285, allocations: 74.8 kB / 1.298 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06919/2.354, allocations: 17.72 MB / 1.316 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.104e-06/2.354, allocations: 0 / 1.316 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.041e-05/2.354, allocations: 3.906 kB / 1.316 GB, free: 258.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004297/2.355, allocations: 353.9 kB / 1.316 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/2.355, allocations: 7.812 kB / 1.316 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/2.355, allocations: 34.53 kB / 1.316 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/2.355, allocations: 7.953 kB / 1.316 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/2.355, allocations: 163 kB / 1.316 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.472e-05/2.355, allocations: 29.64 kB / 1.316 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/2.355, allocations: 0 / 1.316 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/2.355, allocations: 40.94 kB / 1.316 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/2.355, allocations: 0 / 1.316 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/2.355, allocations: 0 / 1.316 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/2.355, allocations: 0 / 1.316 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/2.355, allocations: 19.02 kB / 1.316 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/2.356, allocations: 333.3 kB / 1.316 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/2.356, allocations: 22.42 kB / 1.316 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/2.356, allocations: 8.844 kB / 1.317 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.195e-05/2.356, allocations: 81.02 kB / 1.317 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/2.356, allocations: 34.47 kB / 1.317 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 3.597e-06/2.356, allocations: 4 kB / 1.317 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/2.356, allocations: 45.02 kB / 1.317 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/2.356, allocations: 55.41 kB / 1.317 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/2.356, allocations: 100.7 kB / 1.317 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/2.356, allocations: 29.39 kB / 1.317 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/2.356, allocations: 84.05 kB / 1.317 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.714e-06/2.356, allocations: 3.984 kB / 1.317 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/2.356, allocations: 0 / 1.317 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/2.357, allocations: 318.8 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/2.357, allocations: 3.75 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/2.357, allocations: 13.62 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/2.357, allocations: 7.844 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/2.357, allocations: 0 / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/2.357, allocations: 52.69 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/2.357, allocations: 3.906 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/2.357, allocations: 4.062 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/2.357, allocations: 3.906 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/2.357, allocations: 11.83 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/2.357, allocations: 3.953 kB / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/2.357, allocations: 0 / 1.317 GB, free: 257 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/2.357, allocations: 3.906 kB / 1.317 GB, free: 257 MB / 0.8698 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 (3): * Single equations (assignments): 3 * 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.763e-05/2.357, allocations: 101 kB / 1.317 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/2.357, allocations: 7.719 kB / 1.317 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/2.357, allocations: 128.2 kB / 1.318 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/2.357, allocations: 180.1 kB / 1.318 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-05/2.357, allocations: 184.2 kB / 1.318 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/2.357, allocations: 183.6 kB / 1.318 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/2.358, allocations: 401.1 kB / 1.318 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/2.358, allocations: 112.6 kB / 1.319 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/2.358, allocations: 101 kB / 1.319 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.563e-05/2.358, allocations: 188.1 kB / 1.319 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/2.358, allocations: 176.3 kB / 1.319 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.453e-05/2.358, allocations: 176.3 kB / 1.319 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.34e-05/2.358, allocations: 180.2 kB / 1.319 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/2.358, allocations: 319.1 kB / 1.32 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/2.358, allocations: 178.1 kB / 1.32 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/2.358, allocations: 180 kB / 1.32 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/2.358, allocations: 116.8 kB / 1.32 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/2.358, allocations: 184.2 kB / 1.32 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/2.358, allocations: 104.9 kB / 1.32 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.548e-05/2.358, allocations: 86.83 kB / 1.32 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/2.358, allocations: 0 / 1.32 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003381/2.359, allocations: 19.59 kB / 1.32 GB, free: 253.6 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 (0): * Single equations (assignments): 0 * 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.0004674/2.359, allocations: 0.8667 MB / 1.321 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.623e-05/2.359, allocations: 11.59 kB / 1.321 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.359, allocations: 0 / 1.321 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/2.359, allocations: 0 / 1.321 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/2.36, allocations: 0.5296 MB / 1.322 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/2.36, allocations: 162.4 kB / 1.322 GB, free: 252 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/2.36, allocations: 0.6847 MB / 1.323 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.44e-05/2.36, allocations: 7.906 kB / 1.323 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/2.36, allocations: 11.34 kB / 1.323 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/2.36, allocations: 0 / 1.323 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/2.384, allocations: 2.092 MB / 1.325 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/2.384, allocations: 177.2 kB / 1.325 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/4.85, allocations: 0 / 1.325 GB, free: 250.1 MB / 0.8698 GB