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.153/2.153, allocations: 253.2 MB / 260.6 MB, free: 7.352 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.001445/0.001445, allocations: 185.4 kB / 319.9 MB, free: 3.016 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.117/2.117, 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.001099/0.001099, allocations: 87.66 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.015e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2058, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.464, allocations: 370.1 MB / 1.25 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/1.465, allocations: 64.91 kB / 1.25 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08538/1.55, allocations: 11.62 MB / 1.261 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.943e-06/1.55, allocations: 0 / 1.261 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.55, allocations: 0 / 1.261 GB, free: 6.457 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.0004596/1.55, allocations: 338 kB / 1.262 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/1.551, allocations: 8.031 kB / 1.262 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/1.551, allocations: 11.89 kB / 1.262 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/1.551, allocations: 163.1 kB / 1.262 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/1.551, allocations: 25.7 kB / 1.262 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/1.551, allocations: 4 kB / 1.262 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/1.551, allocations: 19.44 kB / 1.262 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/1.551, allocations: 33.69 kB / 1.262 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.551, allocations: 4 kB / 1.262 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.551, allocations: 0 / 1.262 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/1.551, allocations: 7.984 kB / 1.262 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/1.552, allocations: 305.7 kB / 1.262 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/1.552, allocations: 14.64 kB / 1.262 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/1.552, allocations: 8.859 kB / 1.262 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/1.552, allocations: 92.66 kB / 1.262 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.552, allocations: 38.5 kB / 1.263 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/1.552, allocations: 0 / 1.263 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002217/1.552, allocations: 33.7 kB / 1.263 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.552, allocations: 51.41 kB / 1.263 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.553, allocations: 104.3 kB / 1.263 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/1.553, allocations: 25.7 kB / 1.263 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/1.553, allocations: 88.05 kB / 1.263 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/1.553, allocations: 7.938 kB / 1.263 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/1.553, allocations: 0 / 1.263 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.553, allocations: 314.1 kB / 1.263 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/1.553, allocations: 4 kB / 1.263 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/1.553, allocations: 17.7 kB / 1.263 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/1.553, allocations: 7.375 kB / 1.263 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/1.553, allocations: 0 / 1.263 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002032/1.553, allocations: 49.62 kB / 1.263 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.553, allocations: 9.406 kB / 1.263 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.553, allocations: 0 / 1.263 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.553, allocations: 0 / 1.263 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/1.553, allocations: 4 kB / 1.263 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.554, allocations: 4 kB / 1.263 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/1.554, allocations: 7.922 kB / 1.263 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/1.554, allocations: 3.953 kB / 1.263 GB, free: 4.469 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 () * 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.0001062/1.554, allocations: 106.7 kB / 1.263 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/1.554, allocations: 11.88 kB / 1.263 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/1.554, allocations: 125.1 kB / 1.263 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.449e-05/1.554, allocations: 180.2 kB / 1.264 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-05/1.554, allocations: 180.2 kB / 1.264 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.474e-05/1.554, allocations: 176.3 kB / 1.264 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/1.555, allocations: 393.3 kB / 1.264 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.853e-05/1.555, allocations: 104.9 kB / 1.264 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/1.555, allocations: 109 kB / 1.265 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.354e-05/1.555, allocations: 176.3 kB / 1.265 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/1.555, allocations: 180.2 kB / 1.265 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.473e-05/1.555, allocations: 180.2 kB / 1.265 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.571e-05/1.555, allocations: 187.8 kB / 1.265 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/1.555, allocations: 303.7 kB / 1.266 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/1.556, allocations: 185.3 kB / 1.266 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.556, allocations: 180.2 kB / 1.266 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/1.556, allocations: 113 kB / 1.266 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.556, allocations: 176.3 kB / 1.266 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/1.556, allocations: 108.9 kB / 1.266 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.799e-05/1.556, allocations: 90.78 kB / 1.266 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.556, allocations: 0 / 1.266 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005552/1.557, allocations: 12 kB / 1.266 GB, free: 1.078 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 () * 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.000283/1.557, allocations: 206.5 kB / 1.267 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/1.557, allocations: 11.56 kB / 1.267 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.557, allocations: 0 / 1.267 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.557, allocations: 4.125 kB / 1.267 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/1.558, allocations: 0.5283 MB / 1.267 GB, free: 332 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/1.558, allocations: 135.3 kB / 1.267 GB, free: 176 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5819/2.14, allocations: 0.6775 MB / 1.268 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.357e-05/2.14, allocations: 5.953 kB / 1.268 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/2.14, allocations: 10.12 kB / 1.268 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/2.14, allocations: 0 / 1.268 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.004185/2.144, allocations: 0.6519 MB / 1.269 GB, free: 326.5 MB / 0.8698 GB