Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.387/2.387, allocations: 248.5 MB / 261.1 MB, free: 5.953 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.001476/0.001476, allocations: 179.3 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001085/0.001085, allocations: 92.72 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.777e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.386, allocations: 336.4 MB / 1.219 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.387, allocations: 78.08 kB / 1.219 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02889/1.416, allocations: 7.716 MB / 1.227 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.416, allocations: 0 / 1.227 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.416, allocations: 0 / 1.227 GB, free: 7.473 MB / 0.8386 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.0004534/1.416, allocations: 350.1 kB / 1.227 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.416, allocations: 12.03 kB / 1.227 GB, free: 7.078 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/1.416, allocations: 34.56 kB / 1.227 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/1.416, allocations: 0 / 1.227 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/1.416, allocations: 163 kB / 1.227 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/1.416, allocations: 29.7 kB / 1.227 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/1.417, allocations: 0 / 1.227 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/1.417, allocations: 40.75 kB / 1.227 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.417, allocations: 0 / 1.227 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/1.417, allocations: 0 / 1.227 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/1.417, allocations: 4 kB / 1.227 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/1.417, allocations: 19.36 kB / 1.227 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/1.418, allocations: 0.6052 MB / 1.228 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/1.418, allocations: 18.58 kB / 1.228 GB, free: 6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/1.418, allocations: 4.859 kB / 1.228 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/1.418, allocations: 363.1 kB / 1.228 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.418, allocations: 38.5 kB / 1.228 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 5.159e-06/1.418, allocations: 3.984 kB / 1.228 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001778/1.418, allocations: 44.62 kB / 1.228 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.419, allocations: 55.39 kB / 1.229 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.419, allocations: 93 kB / 1.229 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/1.419, allocations: 25.7 kB / 1.229 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/1.419, allocations: 83.27 kB / 1.229 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/1.419, allocations: 7.938 kB / 1.229 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.419, allocations: 0 / 1.229 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.419, allocations: 322.6 kB / 1.229 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/1.419, allocations: 0 / 1.229 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/1.419, allocations: 13.72 kB / 1.229 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/1.419, allocations: 4 kB / 1.229 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.419, allocations: 0 / 1.229 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001055/1.419, allocations: 60.75 kB / 1.229 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.419, allocations: 6.656 kB / 1.229 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.419, allocations: 0 / 1.229 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.419, allocations: 0 / 1.229 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/1.419, allocations: 8 kB / 1.229 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.419, allocations: 7.938 kB / 1.229 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/1.419, allocations: 3.938 kB / 1.229 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/1.419, allocations: 0 / 1.229 GB, free: 4.758 MB / 0.8386 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 8.293e-05/1.419, allocations: 116.8 kB / 1.229 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/1.42, allocations: 7.906 kB / 1.229 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/1.42, allocations: 116.9 kB / 1.229 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.497e-05/1.42, allocations: 180.2 kB / 1.23 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.592e-05/1.42, allocations: 187.5 kB / 1.23 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.998e-05/1.42, allocations: 180.2 kB / 1.23 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/1.42, allocations: 412.2 kB / 1.23 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/1.42, allocations: 101 kB / 1.23 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/1.42, allocations: 101 kB / 1.23 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.06e-05/1.42, allocations: 180.3 kB / 1.231 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-05/1.42, allocations: 188.2 kB / 1.231 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.873e-05/1.421, allocations: 187.4 kB / 1.231 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.562e-05/1.421, allocations: 176.3 kB / 1.231 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/1.421, allocations: 307 kB / 1.231 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/1.421, allocations: 186.1 kB / 1.232 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/1.421, allocations: 180.2 kB / 1.232 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/1.421, allocations: 116.2 kB / 1.232 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/1.421, allocations: 180.2 kB / 1.232 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/1.422, allocations: 101 kB / 1.232 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.244e-05/1.422, allocations: 86.22 kB / 1.232 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.81e-07/1.422, allocations: 3.938 kB / 1.232 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003809/1.422, allocations: 27.98 kB / 1.232 GB, free: 1.312 MB / 0.8386 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.0006656/1.423, allocations: 0.8709 MB / 1.233 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/1.423, allocations: 8 kB / 1.233 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.423, allocations: 0 / 1.233 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/1.423, allocations: 0 / 1.233 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/1.423, allocations: 0.53 MB / 1.234 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/1.424, allocations: 174.5 kB / 1.234 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/1.424, allocations: 0.677 MB / 1.234 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.443e-05/1.424, allocations: 6.672 kB / 1.234 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/1.424, allocations: 11.44 kB / 1.235 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/1.424, allocations: 0 / 1.235 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/1.445, allocations: 1.859 MB / 1.236 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003587/1.445, allocations: 200.5 kB / 1.237 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.696, allocations: 0 / 1.237 GB, free: 13.08 MB / 0.8542 GB