Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.087/5.087, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002482/0.002481, allocations: 366 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.086/4.086, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 176.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005157, allocations: 12.62 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2314, allocations: 115.3 MB / 1.461 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.429, allocations: 342.8 MB / 1.796 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.429, allocations: 85.02 kB / 1.796 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0282/1.457, allocations: 7.733 MB / 1.804 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.457, allocations: 0 / 1.804 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.457, allocations: 0 / 1.804 GB, free: 7.988 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.0004395/1.458, allocations: 342.6 kB / 1.804 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/1.458, allocations: 16.03 kB / 1.804 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/1.458, allocations: 0.625 kB / 1.804 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.458, allocations: 170.3 kB / 1.804 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/1.458, allocations: 33.69 kB / 1.804 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/1.458, allocations: 3.938 kB / 1.804 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/1.458, allocations: 41.67 kB / 1.804 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.458, allocations: 0 / 1.804 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.458, allocations: 3.375 kB / 1.804 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/1.458, allocations: 4 kB / 1.804 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.908e-05/1.459, allocations: 15.98 kB / 1.804 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/1.459, allocations: 0.5852 MB / 1.805 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.646e-05/1.459, allocations: 17.45 kB / 1.805 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/1.459, allocations: 12.92 kB / 1.805 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/1.46, allocations: 350.8 kB / 1.805 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.46, allocations: 34.56 kB / 1.805 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/1.46, allocations: 0 / 1.805 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.000188/1.46, allocations: 41.27 kB / 1.805 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/1.46, allocations: 60.98 kB / 1.805 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.46, allocations: 105.2 kB / 1.805 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/1.46, allocations: 25.7 kB / 1.805 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/1.46, allocations: 84.05 kB / 1.806 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/1.46, allocations: 3.984 kB / 1.806 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/1.46, allocations: 4.125 kB / 1.806 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.461, allocations: 313.9 kB / 1.806 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/1.461, allocations: 4 kB / 1.806 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/1.461, allocations: 13.72 kB / 1.806 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/1.461, allocations: 11.73 kB / 1.806 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.461, allocations: 0 / 1.806 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001859/1.461, allocations: 49.48 kB / 1.806 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.461, allocations: 12.06 kB / 1.806 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.461, allocations: 0 / 1.806 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.461, allocations: 3.984 kB / 1.806 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/1.461, allocations: 4 kB / 1.806 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.461, allocations: 0 / 1.806 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/1.461, allocations: 15.83 kB / 1.806 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/1.461, allocations: 0 / 1.806 GB, free: 5.316 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 () * Number of clocked 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 0.0001375/1.462, allocations: 109.8 kB / 1.806 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/1.462, allocations: 0 / 1.806 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/1.462, allocations: 131.8 kB / 1.806 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.305e-05/1.462, allocations: 176.3 kB / 1.806 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001039/1.462, allocations: 180.2 kB / 1.807 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.921e-05/1.462, allocations: 180.3 kB / 1.807 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/1.463, allocations: 412.1 kB / 1.807 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.719e-05/1.463, allocations: 113 kB / 1.807 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/1.463, allocations: 104.7 kB / 1.807 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/1.463, allocations: 180.2 kB / 1.808 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.641e-05/1.463, allocations: 176.3 kB / 1.808 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.664e-05/1.463, allocations: 184.2 kB / 1.808 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.685e-05/1.463, allocations: 180.3 kB / 1.808 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/1.464, allocations: 311.1 kB / 1.808 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/1.464, allocations: 183.8 kB / 1.808 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.464, allocations: 191.8 kB / 1.809 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/1.464, allocations: 109 kB / 1.809 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.465, allocations: 176.3 kB / 1.809 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/1.465, allocations: 108.9 kB / 1.809 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000131/1.465, allocations: 82.28 kB / 1.809 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.465, allocations: 0 / 1.809 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008059/1.466, allocations: 35.25 kB / 1.809 GB, free: 1.875 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 () * Number of clocked 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.0005115/1.466, allocations: 235.2 kB / 1.809 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001623/1.466, allocations: 15.92 kB / 1.809 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.466, allocations: 0 / 1.809 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/1.466, allocations: 8.062 kB / 1.809 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/1.467, allocations: 0.5218 MB / 1.81 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/1.468, allocations: 192 kB / 1.81 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/1.468, allocations: 0.6809 MB / 1.811 GB, free: 176 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.643e-05/1.469, allocations: 4 kB / 1.811 GB, free: 172 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/1.469, allocations: 7.438 kB / 1.811 GB, free: 164 kB / 0.8698 GB Notification: Performance of SimCode: time 1.472e-06/1.469, allocations: 0 / 1.811 GB, free: 164 kB / 0.8698 GB Notification: Performance of Templates: time 0.006722/1.475, allocations: 1.084 MB / 1.812 GB, free: 15.13 MB / 0.8855 GB