Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 97.14 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.854/1.854, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 74.86 kB / 0.6722 GB, free: 6.625 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2192, allocations: 114.5 MB / 0.784 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.3554/0.5746, allocations: 4.014 MB / 0.7879 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.5749, allocations: 150.5 kB / 0.7881 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.5749, allocations: 0 / 0.7881 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.5751, allocations: 6.266 kB / 0.7881 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.5752, allocations: 17.09 kB / 0.7881 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.5755, allocations: 68.78 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.5756, allocations: 32.23 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.5756, allocations: 6.859 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.5757, allocations: 11.91 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.5757, allocations: 11.38 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.5758, allocations: 0 / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.5759, allocations: 60.67 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.576, allocations: 7.438 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.576, allocations: 10.44 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.5761, allocations: 41.19 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5762, allocations: 0.8438 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5762, allocations: 2.719 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.5762, allocations: 4.188 kB / 0.7883 GB, free: 46.49 MB / 0.6544 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.000314/0.5765, allocations: 338.6 kB / 0.7887 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5765, allocations: 11.12 kB / 0.7887 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.5766, allocations: 3.75 kB / 0.7887 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/0.5766, allocations: 163 kB / 0.7888 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.5767, allocations: 29.45 kB / 0.7889 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.5767, allocations: 4.469 kB / 0.7889 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.5769, allocations: 44.89 kB / 0.7889 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5769, allocations: 5.984 kB / 0.7889 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5769, allocations: 5.375 kB / 0.7889 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.5769, allocations: 0 / 0.7889 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.577, allocations: 16.25 kB / 0.7889 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.5773, allocations: 332.6 kB / 0.7893 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 2.906e-05/0.5773, allocations: 19.14 kB / 0.7893 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.5774, allocations: 7.359 kB / 0.7893 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.5774, allocations: 89.53 kB / 0.7894 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.5775, allocations: 33.78 kB / 0.7894 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5775, allocations: 2.281 kB / 0.7894 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.5776, allocations: 36.75 kB / 0.7894 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.5776, allocations: 52.28 kB / 0.7895 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.5777, allocations: 103.5 kB / 0.7896 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.5777, allocations: 30.95 kB / 0.7896 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.5777, allocations: 80.67 kB / 0.7897 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.5778, allocations: 13.19 kB / 0.7897 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.5778, allocations: 18.91 kB / 0.7897 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.5778, allocations: 314.8 kB / 0.79 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.5779, allocations: 7.875 kB / 0.79 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.5779, allocations: 19.89 kB / 0.79 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.5779, allocations: 20.94 kB / 0.7901 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5779, allocations: 0 / 0.7901 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.666e-05/0.578, allocations: 49.64 kB / 0.7901 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.578, allocations: 5.25 kB / 0.7901 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.578, allocations: 3.047 kB / 0.7901 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.578, allocations: 3.156 kB / 0.7901 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.5781, allocations: 5.75 kB / 0.7901 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.5781, allocations: 0.7188 kB / 0.7901 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.5781, allocations: 9.875 kB / 0.7901 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.5781, allocations: 7.094 kB / 0.7901 GB, free: 44.63 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.5782, allocations: 117 kB / 0.7903 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.5782, allocations: 7.719 kB / 0.7903 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.5783, allocations: 116.3 kB / 0.7904 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.5783, allocations: 188.1 kB / 0.7906 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.5784, allocations: 179.1 kB / 0.7907 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.5784, allocations: 183.9 kB / 0.7909 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.5785, allocations: 410.7 kB / 0.7913 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.5785, allocations: 101.7 kB / 0.7914 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.5786, allocations: 102.6 kB / 0.7915 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.513e-05/0.5786, allocations: 184 kB / 0.7917 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.5786, allocations: 178.8 kB / 0.7918 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-05/0.5787, allocations: 184.9 kB / 0.792 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.362e-05/0.5787, allocations: 179.5 kB / 0.7922 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.024e-05/0.5787, allocations: 312.2 kB / 0.7925 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.5788, allocations: 184.7 kB / 0.7927 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.5788, allocations: 180.3 kB / 0.7928 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5789, allocations: 111.3 kB / 0.7929 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.579, allocations: 180.9 kB / 0.7931 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.579, allocations: 104 kB / 0.7932 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.579, allocations: 88.44 kB / 0.7933 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.579, allocations: 0 / 0.7933 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002469/0.5793, allocations: 11.75 kB / 0.7933 GB, free: 41.33 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.5795, allocations: 198.5 kB / 0.7935 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.5796, allocations: 13.5 kB / 0.7935 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5796, allocations: 0.5 kB / 0.7935 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.5796, allocations: 7.875 kB / 0.7935 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.5799, allocations: 464.8 kB / 0.794 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.5802, allocations: 203.7 kB / 0.7941 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.5803, allocations: 0.6752 MB / 0.7948 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.5803, allocations: 10.06 kB / 0.7948 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.5804, allocations: 4 kB / 0.7948 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.001811/0.5822, allocations: 0.7279 MB / 0.7955 GB, free: 39.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)