Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.818/2.818, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.002281/0.002281, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001191/0.001191, allocations: 78.94 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006477/0.000648, allocations: 10.78 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2272, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00369/0.2309, allocations: 2.468 MB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004318/0.2314, allocations: 327.2 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.2315, allocations: 0 / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2316, allocations: 3.938 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.2316, allocations: 19.97 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.2322, allocations: 132.6 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.247e-05/0.2323, allocations: 19.95 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.2323, allocations: 0 / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.2324, allocations: 4 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.2325, allocations: 15.92 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.2325, allocations: 4 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.2329, allocations: 95.88 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.2329, allocations: 15.97 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.2329, allocations: 25.7 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.2332, allocations: 60.11 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2332, allocations: 4 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2332, allocations: 0 / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2332, allocations: 0 / 0.9813 GB, free: 25.18 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.000363/0.2336, allocations: 331.4 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2336, allocations: 20 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.2337, allocations: 11.86 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.2338, allocations: 163 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/0.2339, allocations: 29.7 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.2339, allocations: 4 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.234, allocations: 37.69 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2341, allocations: 0 / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2341, allocations: 0 / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.2341, allocations: 7.938 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.2342, allocations: 24 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.2348, allocations: 0.5716 MB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.847e-05/0.2348, allocations: 18.52 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.2351, allocations: 332.5 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2351, allocations: 38.55 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.943e-06/0.2351, allocations: 0 / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.2353, allocations: 37.66 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.2353, allocations: 55.34 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.2354, allocations: 105.8 kB / 0.983 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2354, allocations: 25.7 kB / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.2355, allocations: 84.05 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.2355, allocations: 11.84 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.2355, allocations: 0 / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.2356, allocations: 318.8 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.2356, allocations: 12.11 kB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.2356, allocations: 9.719 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.2357, allocations: 4 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2357, allocations: 4 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.114e-05/0.2358, allocations: 49.62 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2358, allocations: 5.25 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2358, allocations: 0 / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2359, allocations: 8.016 kB / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.2359, allocations: 8 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2359, allocations: 0 / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.236, allocations: 7.922 kB / 0.9835 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.236, allocations: 8 kB / 0.9835 GB, free: 22.5 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 6.401e-05/0.2361, allocations: 105.8 kB / 0.9836 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.2361, allocations: 0 / 0.9836 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.2362, allocations: 122.5 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/0.2363, allocations: 192.2 kB / 0.9839 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/0.2363, allocations: 180.2 kB / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/0.2364, allocations: 176.3 kB / 0.9843 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2366, allocations: 405.2 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.2366, allocations: 104.9 kB / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.2366, allocations: 105 kB / 0.9849 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.501e-05/0.2367, allocations: 184.2 kB / 0.985 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.2367, allocations: 184.2 kB / 0.9852 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-05/0.2368, allocations: 176.3 kB / 0.9854 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.359e-05/0.2368, allocations: 184.2 kB / 0.9856 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.2369, allocations: 311.7 kB / 0.9859 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.237, allocations: 190.1 kB / 0.986 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.237, allocations: 176.3 kB / 0.9862 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2372, allocations: 112.9 kB / 0.9863 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.2373, allocations: 180.3 kB / 0.9865 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.2373, allocations: 112.9 kB / 0.9866 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.2374, allocations: 91.27 kB / 0.9867 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.623e-06/0.2374, allocations: 0 / 0.9867 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003721/0.2378, allocations: 27.94 kB / 0.9867 GB, free: 19.04 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.0002962/0.2381, allocations: 238.4 kB / 0.9869 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.2382, allocations: 8.312 kB / 0.9869 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2382, allocations: 0 / 0.9869 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.2382, allocations: 3.938 kB / 0.9869 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2386, allocations: 0.5316 MB / 0.9875 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.2388, allocations: 180.2 kB / 0.9876 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.239, allocations: 0.677 MB / 0.9883 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.616e-05/0.239, allocations: 13.67 kB / 0.9883 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.2391, allocations: 7.438 kB / 0.9883 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/0.2391, allocations: 0 / 0.9883 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.004418/0.2435, allocations: 1.086 MB / 0.9894 GB, free: 16.29 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)