Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.271/1.271, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009402/0.0009403, allocations: 187.1 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 0.5785 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007108/0.0007108, allocations: 96.34 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 13.12 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.691/0.8642, allocations: 370.1 MB / 1.263 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.8645, allocations: 68.03 kB / 1.263 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.02213/0.8866, allocations: 11.69 MB / 1.274 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8867, allocations: 3.938 kB / 1.274 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.8867, allocations: 4 kB / 1.274 GB, free: 4.109 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.0003771/0.8871, allocations: 339.3 kB / 1.274 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.8871, allocations: 12.03 kB / 1.274 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.8872, allocations: 4.922 kB / 1.274 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.8873, allocations: 160.4 kB / 1.275 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.8873, allocations: 34.27 kB / 1.275 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.8873, allocations: 384 / 1.275 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.8875, allocations: 38.25 kB / 1.275 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8875, allocations: 3.938 kB / 1.275 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.8875, allocations: 3.812 kB / 1.275 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.8875, allocations: 7.984 kB / 1.275 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.8876, allocations: 7.938 kB / 1.275 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.888, allocations: 337.9 kB / 1.275 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.057e-05/0.888, allocations: 14.58 kB / 1.275 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.888, allocations: 11.86 kB / 1.275 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/0.8881, allocations: 85.09 kB / 1.275 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.8881, allocations: 30.56 kB / 1.275 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.8881, allocations: 0 / 1.275 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.8883, allocations: 41.64 kB / 1.275 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.8883, allocations: 54.72 kB / 1.275 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.8884, allocations: 105.8 kB / 1.275 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.8884, allocations: 29.58 kB / 1.275 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.8885, allocations: 80.14 kB / 1.275 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.8885, allocations: 7.844 kB / 1.276 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.8885, allocations: 0 / 1.276 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8886, allocations: 310.8 kB / 1.276 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.8886, allocations: 11.73 kB / 1.276 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.8887, allocations: 17.72 kB / 1.276 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.8887, allocations: 29.28 kB / 1.276 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8887, allocations: 0 / 1.276 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.58e-05/0.8888, allocations: 49.12 kB / 1.276 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8888, allocations: 4 kB / 1.276 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.8888, allocations: 64 / 1.276 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.8889, allocations: 8 kB / 1.276 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.8889, allocations: 11.92 kB / 1.276 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8889, allocations: 3.938 kB / 1.276 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.8889, allocations: 0 / 1.276 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.889, allocations: 4 kB / 1.276 GB, free: 2.051 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 6.988e-05/0.889, allocations: 109.8 kB / 1.276 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.8891, allocations: 4 kB / 1.276 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.8892, allocations: 124.7 kB / 1.276 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.589e-05/0.8893, allocations: 188.5 kB / 1.276 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-05/0.8894, allocations: 176.3 kB / 1.277 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-05/0.8894, allocations: 180.2 kB / 1.277 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.8897, allocations: 409 kB / 1.277 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.943e-05/0.8897, allocations: 105 kB / 1.277 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.8898, allocations: 108.9 kB / 1.277 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.586e-05/0.8898, allocations: 187.5 kB / 1.277 GB, free: 396 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.8899, allocations: 180.2 kB / 1.278 GB, free: 208 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.695e-05/0.89, allocations: 180.3 kB / 1.278 GB, free: 20 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.081e-05/0.8901, allocations: 180.2 kB / 1.278 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.8902, allocations: 315.2 kB / 1.278 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.8903, allocations: 182 kB / 1.278 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.8903, allocations: 176.3 kB / 1.279 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.8905, allocations: 112.8 kB / 1.279 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.8906, allocations: 188.2 kB / 1.279 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.8906, allocations: 105 kB / 1.279 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.8907, allocations: 87.02 kB / 1.279 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8907, allocations: 0 / 1.279 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002348/0.8909, allocations: 12 kB / 1.279 GB, free: 14.62 MB / 0.7917 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.0001918/0.8911, allocations: 210.4 kB / 1.279 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.754e-05/0.8912, allocations: 15.3 kB / 1.279 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8912, allocations: 0 / 1.279 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.8912, allocations: 0 / 1.279 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.8915, allocations: 0.5282 MB / 1.28 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.8918, allocations: 196.4 kB / 1.28 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.8921, allocations: 0.6731 MB / 1.281 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 4.399e-05/0.8921, allocations: 15.92 kB / 1.281 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.8921, allocations: 11.44 kB / 1.281 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of SimCode: time 2.1e-07/0.8921, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of Templates: time 0.002556/0.8947, allocations: 0.7902 MB / 1.281 GB, free: 12.13 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)