Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001208/0.001208, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.577/1.577, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.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.713/1.713, allocations: 292.3 MB / 0.5485 GB, free: 13.65 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.001328/0.001328, allocations: 70.69 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2681, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006239/0.2744, allocations: 3.759 MB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.2746, allocations: 151.5 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.2746, allocations: 0 / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.2748, allocations: 8 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.2749, allocations: 11.91 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.2753, allocations: 67.78 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.2754, allocations: 31.84 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.2754, allocations: 7.984 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.2755, allocations: 15.98 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.2755, allocations: 11.92 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2756, allocations: 4 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.2761, allocations: 183.5 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.2762, allocations: 11.92 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.2762, allocations: 11.94 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.2763, allocations: 56.05 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2763, allocations: 0 / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2763, allocations: 0 / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2764, allocations: 0 / 0.7871 GB, free: 9.582 MB / 0.6075 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.0005267/0.2769, allocations: 335.5 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2769, allocations: 8.031 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.277, allocations: 8.938 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.2772, allocations: 164.3 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.2772, allocations: 26.27 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.2773, allocations: 8.375 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2774, allocations: 45.62 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2774, allocations: 0 / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2775, allocations: 3.984 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.2775, allocations: 4 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.2775, allocations: 15.94 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.2781, allocations: 337.9 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.927e-05/0.2782, allocations: 14.58 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.2782, allocations: 4.859 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.842e-05/0.2783, allocations: 93.16 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2783, allocations: 34.56 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2783, allocations: 0 / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001575/0.2785, allocations: 37.64 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.2785, allocations: 55.39 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.2786, allocations: 97.86 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2787, allocations: 25.7 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.2787, allocations: 92.03 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.2787, allocations: 3.984 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.2788, allocations: 17.84 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2789, allocations: 318.8 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.2789, allocations: 4 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.279, allocations: 21.7 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.53e-05/0.279, allocations: 21.59 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.279, allocations: 0 / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.826e-05/0.2791, allocations: 57.62 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2791, allocations: 4 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2791, allocations: 0 / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2792, allocations: 0 / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.2792, allocations: 8 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2792, allocations: 0 / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.2792, allocations: 3.906 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2793, allocations: 0 / 0.7888 GB, free: 7.473 MB / 0.6075 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 0.0001572/0.2794, allocations: 126.4 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2795, allocations: 4.062 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.2796, allocations: 116.9 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.947e-05/0.2797, allocations: 180.3 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000225/0.2799, allocations: 184.2 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/0.28, allocations: 180.2 kB / 0.7896 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.2803, allocations: 413.2 kB / 0.79 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001013/0.2804, allocations: 104.9 kB / 0.7901 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.2805, allocations: 101 kB / 0.7902 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-05/0.2805, allocations: 176.5 kB / 0.7904 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.2806, allocations: 184.2 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.045e-05/0.2807, allocations: 180.2 kB / 0.7907 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.387e-05/0.2807, allocations: 184.2 kB / 0.7909 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.281, allocations: 311.8 kB / 0.7912 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.2811, allocations: 190 kB / 0.7914 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.2812, allocations: 180.3 kB / 0.7915 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.2814, allocations: 116.9 kB / 0.7916 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.2815, allocations: 180.2 kB / 0.7918 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.2816, allocations: 101 kB / 0.7919 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.2816, allocations: 83.22 kB / 0.792 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2816, allocations: 0 / 0.792 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002873/0.2819, allocations: 19.94 kB / 0.792 GB, free: 4.004 MB / 0.6075 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.0002904/0.2822, allocations: 206.4 kB / 0.7922 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.2823, allocations: 12.3 kB / 0.7922 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2823, allocations: 3.938 kB / 0.7922 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2823, allocations: 0 / 0.7922 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.2827, allocations: 463.8 kB / 0.7927 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.283, allocations: 185.7 kB / 0.7928 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2832, allocations: 0.6729 MB / 0.7935 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.2833, allocations: 9.734 kB / 0.7935 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.2833, allocations: 11.44 kB / 0.7935 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2833, allocations: 4 kB / 0.7935 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.00296/0.2863, allocations: 0.5976 MB / 0.7941 GB, free: 1.805 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)