Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.796/1.796, allocations: 288.4 MB / 303.4 MB, free: 8.074 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.001357/0.001358, allocations: 176.5 kB / 372 MB, free: 10.26 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.765/1.765, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.00133/0.00133, allocations: 106.3 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003845, allocations: 14.22 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003939/0.2326, allocations: 3.288 MB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.2328, allocations: 143.7 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.2328, allocations: 0 / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.708e-05/0.2329, allocations: 8 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.233, allocations: 7.922 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.2333, allocations: 53.05 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.2334, allocations: 39.89 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.2334, allocations: 3.984 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.2335, allocations: 11.94 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.2336, allocations: 15.98 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2336, allocations: 3.938 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.234, allocations: 147.7 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.2341, allocations: 7.938 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.2341, allocations: 37.62 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.424e-05/0.2342, allocations: 32.19 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2342, allocations: 3.938 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2342, allocations: 0 / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2342, allocations: 0 / 0.9833 GB, free: 23.85 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.0003147/0.2345, allocations: 323.4 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2346, allocations: 20.02 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.2346, allocations: 7.859 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.2347, allocations: 159.1 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.2348, allocations: 29.7 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.2348, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.2349, allocations: 45.67 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.235, allocations: 0 / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.235, allocations: 4 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.235, allocations: 7.938 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.235, allocations: 23.92 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.2355, allocations: 326.1 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.344e-05/0.2355, allocations: 14.58 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.2355, allocations: 8.922 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.2356, allocations: 85.09 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2356, allocations: 34.56 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.2356, allocations: 3.938 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.2358, allocations: 37.66 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2358, allocations: 59.39 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.316e-05/0.2359, allocations: 97.8 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2359, allocations: 29.7 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.2359, allocations: 88.05 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.236, allocations: 7.891 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.236, allocations: 4.125 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.236, allocations: 310.8 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.236, allocations: 4 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.2361, allocations: 17.72 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.2361, allocations: 15.86 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2361, allocations: 0 / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.499e-05/0.2362, allocations: 45.7 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2362, allocations: 11.98 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2362, allocations: 0 / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2362, allocations: 3.953 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.2363, allocations: 7.938 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2363, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.2363, allocations: 4 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.2363, allocations: 0 / 0.985 GB, free: 21.78 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 5.185e-05/0.2364, allocations: 113.8 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2364, allocations: 4.062 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.731e-05/0.2365, allocations: 122.8 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.2365, allocations: 180.2 kB / 0.9854 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/0.2366, allocations: 180.2 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.2366, allocations: 188.2 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.2367, allocations: 401.2 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.2368, allocations: 109 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.2368, allocations: 104.9 kB / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.2368, allocations: 184.3 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.2368, allocations: 180.2 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.608e-05/0.2369, allocations: 180.4 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.366e-05/0.2369, allocations: 184.3 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.319e-05/0.237, allocations: 315.6 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.237, allocations: 182 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.2371, allocations: 188.2 kB / 0.9877 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2372, allocations: 109 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.2372, allocations: 184.2 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2373, allocations: 105 kB / 0.9881 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.2373, allocations: 83.23 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2373, allocations: 0 / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002252/0.2375, allocations: 15.94 kB / 0.9882 GB, free: 18.32 MB / 0.6198 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.0001349/0.2377, allocations: 198.5 kB / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.274e-05/0.2378, allocations: 11.94 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2378, allocations: 3.938 kB / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.2378, allocations: 0 / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2381, allocations: 0.5234 MB / 0.9889 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.2383, allocations: 192 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.817e-05/0.2384, allocations: 0.6731 MB / 0.9897 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.2385, allocations: 7.984 kB / 0.9898 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.2385, allocations: 7.438 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2385, allocations: 0 / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.002427/0.2409, allocations: 0.5174 MB / 0.9903 GB, free: 16.14 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)