Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.939/1.939, allocations: 287.4 MB / 303.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009156/0.0009158, allocations: 182.2 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.4 MB / 0.6304 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007481/0.0007481, allocations: 101 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 15 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1766, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003147/0.1798, allocations: 3.557 MB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.18, allocations: 135.6 kB / 0.9829 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.18, allocations: 0 / 0.9829 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1802, allocations: 7.922 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.1802, allocations: 19.92 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1805, allocations: 47.84 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.1806, allocations: 47.84 kB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.1806, allocations: 0 / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.1807, allocations: 19.91 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.1807, allocations: 11.98 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1808, allocations: 0 / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1809, allocations: 27.91 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.1809, allocations: 11.94 kB / 0.9831 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.181, allocations: 29.7 kB / 0.9831 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.421e-05/0.181, allocations: 24.27 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.181, allocations: 0 / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1811, allocations: 4 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.1811, allocations: 0 / 0.9831 GB, free: 24.23 MB / 0.6198 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.0002715/0.1813, allocations: 328.9 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1814, allocations: 12.02 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1814, allocations: 8.844 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.732e-05/0.1815, allocations: 160.4 kB / 0.9836 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.1816, allocations: 34.27 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1816, allocations: 384 / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1817, allocations: 49.62 kB / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1817, allocations: 0 / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1817, allocations: 7.922 kB / 0.9837 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1818, allocations: 7.984 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.1818, allocations: 8 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.1821, allocations: 341.9 kB / 0.984 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.654e-05/0.1822, allocations: 18.58 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.1822, allocations: 12.92 kB / 0.9841 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.1822, allocations: 89.09 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.1823, allocations: 34.5 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.1823, allocations: 3.984 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.1824, allocations: 33.7 kB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.299e-05/0.1824, allocations: 51.41 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.1825, allocations: 109.9 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.1825, allocations: 25.7 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.1825, allocations: 88.05 kB / 0.9845 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.1825, allocations: 7.906 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.1825, allocations: 0 / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.711e-05/0.1826, allocations: 318.8 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.1826, allocations: 4 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.1826, allocations: 17.66 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.1827, allocations: 25.7 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1827, allocations: 0 / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.089e-05/0.1827, allocations: 49.64 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1828, allocations: 4 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1828, allocations: 3.984 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1828, allocations: 0 / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.1828, allocations: 8 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1829, allocations: 4.062 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.1829, allocations: 0 / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.1829, allocations: 0 / 0.9849 GB, free: 22.14 MB / 0.6198 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 4.541e-05/0.1829, allocations: 117.8 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.183, allocations: 0 / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.146e-05/0.1831, allocations: 120.9 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/0.1831, allocations: 176.3 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.1831, allocations: 109 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.1832, allocations: 193.9 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.1832, allocations: 176.3 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1833, allocations: 116.8 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.1834, allocations: 180.3 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.271e-05/0.1834, allocations: 259.5 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.031e-05/0.1835, allocations: 379 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.373e-05/0.1835, allocations: 108.9 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.1836, allocations: 91.28 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of Backend: time 4.01e-07/0.1836, allocations: 0 / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.1839, allocations: 104.4 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003641/0.1843, allocations: 0.9434 MB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.002083/0.1864, allocations: 468.7 kB / 0.9883 GB, free: 18.47 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)