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.24/2.24, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.00163, allocations: 186.4 kB / 325.6 MB, free: 2.836 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 2.48/2.48, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.0011/0.0011, allocations: 91.61 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006293/0.0006294, allocations: 8.969 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2545, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003652/0.2582, allocations: 2.472 MB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000437/0.2587, allocations: 331.3 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.2588, allocations: 0 / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2589, allocations: 3.938 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.2589, allocations: 7.984 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.2595, allocations: 135.6 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.2596, allocations: 19.97 kB / 0.9018 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.2596, allocations: 4 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.2597, allocations: 7.984 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.2597, allocations: 11.94 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2598, allocations: 0 / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.2601, allocations: 103.8 kB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.2602, allocations: 3.984 kB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.2602, allocations: 33.7 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2604, allocations: 59.94 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2605, allocations: 0 / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2605, allocations: 0 / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2605, allocations: 0 / 0.902 GB, free: 62.28 MB / 0.6042 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.0003559/0.2608, allocations: 347.5 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2609, allocations: 11.97 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.2609, allocations: 0 / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.261, allocations: 167 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/0.2611, allocations: 33.62 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2611, allocations: 4 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2613, allocations: 45.69 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2613, allocations: 0 / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2613, allocations: 3.953 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.2614, allocations: 0 / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.2614, allocations: 15.98 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.262, allocations: 0.5716 MB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.2621, allocations: 22.52 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.2623, allocations: 336.5 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2623, allocations: 38.52 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.145e-06/0.2623, allocations: 0 / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.2625, allocations: 37.69 kB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.2625, allocations: 55.34 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.2626, allocations: 105.8 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2627, allocations: 29.83 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.2627, allocations: 84.12 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.2627, allocations: 3.906 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.2627, allocations: 0 / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.2628, allocations: 314.8 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.2628, allocations: 4 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.2629, allocations: 17.7 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.2629, allocations: 8 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2629, allocations: 0 / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.418e-05/0.263, allocations: 53.62 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2631, allocations: 10.14 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2631, allocations: 0 / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2631, allocations: 0 / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.2632, allocations: 8 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2632, allocations: 4 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.2632, allocations: 0 / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2632, allocations: 4.062 kB / 0.9042 GB, free: 59.61 MB / 0.6042 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 6.318e-05/0.2633, allocations: 113.8 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.2633, allocations: 3.938 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.2635, allocations: 131.3 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.2635, allocations: 176.3 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/0.2636, allocations: 188.2 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/0.2636, allocations: 184.2 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2638, allocations: 397.2 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.2638, allocations: 112.9 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.2638, allocations: 101 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.481e-05/0.2639, allocations: 180.2 kB / 0.9057 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.2639, allocations: 188.2 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.172e-05/0.264, allocations: 184.2 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.225e-05/0.264, allocations: 184.2 kB / 0.9063 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.509e-05/0.2641, allocations: 303.8 kB / 0.9066 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.2642, allocations: 182.1 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.2642, allocations: 188.3 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2644, allocations: 108.9 kB / 0.907 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.2645, allocations: 184.2 kB / 0.9072 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2645, allocations: 104.9 kB / 0.9073 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.2646, allocations: 87.28 kB / 0.9074 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2646, allocations: 0 / 0.9074 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003735/0.265, allocations: 35.92 kB / 0.9074 GB, free: 56.12 MB / 0.6042 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.0002852/0.2653, allocations: 224.4 kB / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.2654, allocations: 11.98 kB / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2654, allocations: 0 / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.2654, allocations: 7.938 kB / 0.9076 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2657, allocations: 0.5154 MB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.266, allocations: 200 kB / 0.9083 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.2661, allocations: 0.677 MB / 0.909 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.843e-05/0.2662, allocations: 4 kB / 0.909 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.2662, allocations: 7.438 kB / 0.909 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.2663, allocations: 0 / 0.909 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.004405/0.2707, allocations: 1.1 MB / 0.9101 GB, free: 53.37 MB / 0.6042 GB