Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.332/2.332, allocations: 253.1 MB / 260.6 MB, free: 7.535 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 182.9 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 85.11 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.685e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2012, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.321, allocations: 336.6 MB / 1.217 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.321, allocations: 90.8 kB / 1.217 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02861/1.35, allocations: 7.673 MB / 1.225 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.35, allocations: 0 / 1.225 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.35, allocations: 0 / 1.225 GB, free: 9.77 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.0004176/1.35, allocations: 353.8 kB / 1.225 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.35, allocations: 12.02 kB / 1.225 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/1.35, allocations: 0 / 1.225 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/1.351, allocations: 167 kB / 1.225 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.351, allocations: 33.69 kB / 1.226 GB, free: 9.129 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/1.351, allocations: 0 / 1.226 GB, free: 9.129 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.624e-05/1.351, allocations: 14.94 kB / 1.226 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.67e-05/1.351, allocations: 41.06 kB / 1.226 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.351, allocations: 0 / 1.226 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/1.351, allocations: 0 / 1.226 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/1.351, allocations: 0 / 1.226 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/1.352, allocations: 0.5803 MB / 1.226 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/1.352, allocations: 18.58 kB / 1.226 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/1.352, allocations: 4.859 kB / 1.226 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003381/1.352, allocations: 359.4 kB / 1.227 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.352, allocations: 34.56 kB / 1.227 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 2.394e-06/1.352, allocations: 0 / 1.227 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002945/1.353, allocations: 45.12 kB / 1.227 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.353, allocations: 55.34 kB / 1.227 GB, free: 7.785 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/1.353, allocations: 106.5 kB / 1.227 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.353, allocations: 25.7 kB / 1.227 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/1.353, allocations: 80.14 kB / 1.227 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/1.353, allocations: 3.906 kB / 1.227 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.353, allocations: 0 / 1.227 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.353, allocations: 314.8 kB / 1.227 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/1.353, allocations: 7 kB / 1.227 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/1.353, allocations: 21.92 kB / 1.227 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/1.353, allocations: 18.48 kB / 1.227 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.353, allocations: 3.938 kB / 1.227 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002661/1.354, allocations: 65.17 kB / 1.227 GB, free: 7.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.354, allocations: 4 kB / 1.227 GB, free: 7.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.354, allocations: 4.078 kB / 1.227 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.354, allocations: 8.047 kB / 1.227 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/1.354, allocations: 8 kB / 1.227 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.354, allocations: 0 / 1.227 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/1.354, allocations: 3.938 kB / 1.227 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/1.354, allocations: 7.938 kB / 1.227 GB, free: 7.094 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.443e-05/1.354, allocations: 104.9 kB / 1.227 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/1.354, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.354, allocations: 129.4 kB / 1.228 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.507e-05/1.354, allocations: 183.1 kB / 1.228 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.697e-05/1.354, allocations: 176.3 kB / 1.228 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-05/1.354, allocations: 188.2 kB / 1.228 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/1.355, allocations: 381.3 kB / 1.228 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.373e-05/1.355, allocations: 113 kB / 1.229 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/1.355, allocations: 108.9 kB / 1.229 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/1.355, allocations: 176.3 kB / 1.229 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/1.355, allocations: 176.3 kB / 1.229 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.922e-05/1.355, allocations: 184.2 kB / 1.229 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-05/1.355, allocations: 180.2 kB / 1.229 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/1.355, allocations: 311.3 kB / 1.23 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/1.355, allocations: 182.1 kB / 1.23 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/1.355, allocations: 180.3 kB / 1.23 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/1.356, allocations: 108.3 kB / 1.23 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/1.356, allocations: 184.3 kB / 1.23 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/1.356, allocations: 105 kB / 1.23 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.016e-05/1.356, allocations: 87.22 kB / 1.23 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.21e-07/1.356, allocations: 0 / 1.23 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004106/1.356, allocations: 28 kB / 1.23 GB, free: 3.688 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.0003472/1.357, allocations: 233.3 kB / 1.231 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/1.357, allocations: 12.08 kB / 1.231 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.357, allocations: 0 / 1.231 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/1.357, allocations: 0 / 1.231 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/1.357, allocations: 0.5264 MB / 1.231 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/1.357, allocations: 133.8 kB / 1.231 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.358, allocations: 0.6806 MB / 1.232 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.272e-05/1.358, allocations: 4 kB / 1.232 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/1.358, allocations: 23.36 kB / 1.232 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/1.358, allocations: 0 / 1.232 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of Templates: time 0.006527/1.364, allocations: 1.023 MB / 1.233 GB, free: 1.062 MB / 0.8386 GB