Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.286/2.286, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.00148/0.00148, allocations: 184.7 kB / 325.6 MB, free: 2.832 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.4/2.4, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001092/0.001092, allocations: 98.34 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006718/0.0006718, allocations: 9.828 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2364, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.519, allocations: 369.9 MB / 1.26 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.519, allocations: 76.33 kB / 1.26 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.03957/1.559, allocations: 11.72 MB / 1.272 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.124e-06/1.559, allocations: 0 / 1.272 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.257e-06/1.559, allocations: 4 kB / 1.272 GB, free: 6.809 MB / 0.7761 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.0003839/1.559, allocations: 339 kB / 1.272 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.559, allocations: 12.03 kB / 1.272 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/1.559, allocations: 3.953 kB / 1.272 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.559, allocations: 163.1 kB / 1.272 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/1.559, allocations: 33.69 kB / 1.272 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/1.56, allocations: 3.984 kB / 1.272 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/1.56, allocations: 41.44 kB / 1.272 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.56, allocations: 0 / 1.272 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.56, allocations: 0 / 1.272 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.56, allocations: 0 / 1.272 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/1.56, allocations: 19.36 kB / 1.272 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/1.56, allocations: 341.9 kB / 1.273 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.212e-05/1.56, allocations: 14.58 kB / 1.273 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/1.56, allocations: 85.17 kB / 1.273 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.561, allocations: 34.5 kB / 1.273 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.572e-06/1.561, allocations: 0 / 1.273 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001562/1.561, allocations: 44.58 kB / 1.273 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.561, allocations: 59.53 kB / 1.273 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/1.561, allocations: 92.94 kB / 1.273 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.561, allocations: 25.7 kB / 1.273 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/1.561, allocations: 88.03 kB / 1.273 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/1.561, allocations: 7.906 kB / 1.273 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.561, allocations: 0 / 1.273 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.561, allocations: 310.8 kB / 1.273 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/1.561, allocations: 3.812 kB / 1.273 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/1.561, allocations: 21.7 kB / 1.273 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/1.561, allocations: 4 kB / 1.273 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.561, allocations: 0 / 1.273 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001039/1.561, allocations: 53.56 kB / 1.273 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.561, allocations: 4 kB / 1.273 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.561, allocations: 0 / 1.273 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.561, allocations: 3.938 kB / 1.273 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/1.561, allocations: 8 kB / 1.273 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.562, allocations: 8.016 kB / 1.273 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/1.562, allocations: 3.938 kB / 1.273 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/1.562, allocations: 4 kB / 1.273 GB, free: 4.785 MB / 0.7761 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 8.428e-05/1.562, allocations: 113.7 kB / 1.274 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/1.562, allocations: 0 / 1.274 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/1.562, allocations: 122.5 kB / 1.274 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/1.562, allocations: 180.3 kB / 1.274 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.759e-05/1.562, allocations: 187.1 kB / 1.274 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/1.562, allocations: 184.2 kB / 1.274 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/1.562, allocations: 404.5 kB / 1.275 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/1.562, allocations: 105 kB / 1.275 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/1.562, allocations: 108.9 kB / 1.275 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.254e-05/1.563, allocations: 180.3 kB / 1.275 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/1.563, allocations: 180.3 kB / 1.275 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.898e-05/1.563, allocations: 184.1 kB / 1.275 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.648e-05/1.563, allocations: 180.2 kB / 1.275 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/1.563, allocations: 311.3 kB / 1.276 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/1.563, allocations: 186.1 kB / 1.276 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/1.563, allocations: 184.2 kB / 1.276 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/1.563, allocations: 105 kB / 1.276 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/1.563, allocations: 180.2 kB / 1.276 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/1.563, allocations: 118 kB / 1.276 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.926e-05/1.564, allocations: 79.28 kB / 1.277 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.91e-07/1.564, allocations: 3.938 kB / 1.277 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003292/1.564, allocations: 15.5 kB / 1.277 GB, free: 1.355 MB / 0.7761 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.0002621/1.564, allocations: 206.5 kB / 1.277 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.393e-05/1.564, allocations: 11.94 kB / 1.277 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.564, allocations: 0 / 1.277 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/1.564, allocations: 0 / 1.277 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/1.565, allocations: 0.5301 MB / 1.277 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/1.565, allocations: 192.3 kB / 1.277 GB, free: 392 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/1.565, allocations: 0.677 MB / 1.278 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 6.722e-05/1.565, allocations: 4.281 kB / 1.278 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/1.565, allocations: 11.44 kB / 1.278 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of SimCode: time 1.012e-06/1.565, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of Templates: time 0.004149/1.57, allocations: 0.7796 MB / 1.279 GB, free: 14.9 MB / 0.7917 GB