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.001383/0.001383, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 186.6 kB / 16.62 MB, free: 6.582 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.805/1.805, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001499/0.001499, allocations: 67.11 kB / 0.6722 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2671, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006851/0.274, allocations: 4.012 MB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002939/0.2743, allocations: 155.5 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.2744, allocations: 0 / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2745, allocations: 0 / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.2746, allocations: 15.92 kB / 0.7882 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.275, allocations: 71.7 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9e-05/0.2751, allocations: 31.91 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.2752, allocations: 4 kB / 0.7883 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.2752, allocations: 19.86 kB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.2753, allocations: 15.92 kB / 0.7883 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.2753, allocations: 4 kB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.2756, allocations: 51.81 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.2757, allocations: 11.98 kB / 0.7884 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.2757, allocations: 11.94 kB / 0.7884 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2759, allocations: 39.95 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2759, allocations: 0 / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2759, allocations: 0 / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.2759, allocations: 0 / 0.7884 GB, free: 8.262 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.0004332/0.2763, allocations: 339.4 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2764, allocations: 8.031 kB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.2764, allocations: 0.9375 kB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2765, allocations: 164.4 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.2766, allocations: 34.25 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.2766, allocations: 4.312 kB / 0.789 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.2768, allocations: 49.62 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2768, allocations: 0 / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2768, allocations: 0 / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.2769, allocations: 0 / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.191e-05/0.2769, allocations: 19.91 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.2774, allocations: 342 kB / 0.7894 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.362e-05/0.2774, allocations: 26.52 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.2775, allocations: 4.859 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.724e-05/0.2776, allocations: 81.17 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2776, allocations: 34.56 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2776, allocations: 0 / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.2778, allocations: 37.69 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.2778, allocations: 51.41 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.2779, allocations: 113.7 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2779, allocations: 25.7 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.278, allocations: 84.05 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.278, allocations: 7.906 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.278, allocations: 13.72 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2781, allocations: 322.8 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.2782, allocations: 8.125 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.2782, allocations: 17.72 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.2782, allocations: 21.72 kB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2782, allocations: 0 / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.8e-05/0.2783, allocations: 45.62 kB / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2783, allocations: 8 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2784, allocations: 4.062 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2784, allocations: 3.938 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.2784, allocations: 11.98 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.2785, allocations: 0 / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.2785, allocations: 4 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2785, allocations: 0 / 0.7902 GB, free: 6.137 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 7.547e-05/0.2786, allocations: 118.4 kB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.2786, allocations: 0 / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.2787, allocations: 128.9 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-05/0.2788, allocations: 176.3 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.609e-05/0.2789, allocations: 184.2 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/0.2789, allocations: 176.3 kB / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.2792, allocations: 413.1 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.2792, allocations: 105 kB / 0.7915 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.2793, allocations: 109 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-05/0.2793, allocations: 184.1 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.2794, allocations: 176.3 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-05/0.2795, allocations: 180.2 kB / 0.7921 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.468e-05/0.2795, allocations: 184.3 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.2797, allocations: 311.7 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.2798, allocations: 178.1 kB / 0.7927 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.2798, allocations: 184.2 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.28, allocations: 109 kB / 0.793 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.2801, allocations: 184.2 kB / 0.7932 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.2801, allocations: 105 kB / 0.7933 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.2802, allocations: 91.27 kB / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2802, allocations: 0 / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002525/0.2804, allocations: 15.94 kB / 0.7934 GB, free: 2.676 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.0002615/0.2807, allocations: 202.4 kB / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.2808, allocations: 11.94 kB / 0.7936 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2808, allocations: 0 / 0.7936 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2808, allocations: 0 / 0.7936 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2812, allocations: 463.7 kB / 0.794 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.2815, allocations: 186 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.2817, allocations: 0.6768 MB / 0.7949 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.2818, allocations: 4 kB / 0.7949 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.2818, allocations: 7.438 kB / 0.7949 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2818, allocations: 0 / 0.7949 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of Templates: time 0.002845/0.2846, allocations: 0.5938 MB / 0.7955 GB, free: 0.4961 MB / 0.6075 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)