Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001226/0.001225, allocations: 181 kB / 371.8 MB, free: 10.29 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.726/1.726, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.0008694/0.0008694, allocations: 86.86 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004291, allocations: 10.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004282/0.241, allocations: 3.057 MB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2437, allocations: 2.167 MB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.2438, allocations: 4 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.2441, allocations: 35.86 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.2444, allocations: 87.69 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2457, allocations: 427.2 kB / 0.985 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.2459, allocations: 164.7 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.246, allocations: 13.55 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2463, allocations: 107.7 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.2464, allocations: 71.75 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.2464, allocations: 4 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.2473, allocations: 383.4 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.2473, allocations: 31.91 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.2474, allocations: 53.64 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.2479, allocations: 251.6 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2479, allocations: 0 / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2479, allocations: 0 / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2479, allocations: 0 / 0.9861 GB, free: 20.88 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007459/0.2486, allocations: 475.2 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2487, allocations: 12.02 kB / 0.9865 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.2514, allocations: 195.4 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.2517, allocations: 202.8 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.2518, allocations: 12.27 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.2518, allocations: 20 kB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.2526, allocations: 300.3 kB / 0.9872 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2527, allocations: 3.938 kB / 0.9872 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.2527, allocations: 8 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.2528, allocations: 4 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.2537, allocations: 267.6 kB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2554, allocations: 1.385 MB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.2562, allocations: 190.5 kB / 0.989 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2562, allocations: 4 kB / 0.989 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2562, allocations: 38.56 kB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.524e-06/0.2562, allocations: 0 / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009278/0.2572, allocations: 251.4 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.2572, allocations: 59.41 kB / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2574, allocations: 154.4 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2574, allocations: 25.7 kB / 0.9895 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.2575, allocations: 128 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.2575, allocations: 67.08 kB / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.2576, allocations: 8 kB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.2576, allocations: 322.8 kB / 0.99 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.2579, allocations: 64.42 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.2582, allocations: 140.1 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.2585, allocations: 81.31 kB / 0.9903 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2585, allocations: 0 / 0.9903 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006272/0.2592, allocations: 249.1 kB / 0.9906 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2592, allocations: 9.25 kB / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2592, allocations: 0 / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2592, allocations: 11.95 kB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2596, allocations: 68.2 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2596, allocations: 4 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.2598, allocations: 31.73 kB / 0.9907 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.2599, allocations: 15.98 kB / 0.9907 GB, free: 15.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 9.42e-05/0.26, allocations: 130.4 kB / 0.9908 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.26, allocations: 15.81 kB / 0.9908 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.2606, allocations: 235.5 kB / 0.9911 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2606, allocations: 0 / 0.9911 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2606, allocations: 4 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2606, allocations: 3.953 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.2609, allocations: 233.4 kB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2609, allocations: 3.938 kB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.2612, allocations: 51.97 kB / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2612, allocations: 0 / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.2613, allocations: 11.98 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2613, allocations: 4 kB / 0.9914 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2613, allocations: 3.953 kB / 0.9914 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.2617, allocations: 297.2 kB / 0.9916 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.2618, allocations: 105 kB / 0.9917 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.2619, allocations: 12 kB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2621, allocations: 15.98 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.2622, allocations: 7.984 kB / 0.9918 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2622, allocations: 7.938 kB / 0.9918 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.2623, allocations: 126.1 kB / 0.9919 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2623, allocations: 0 / 0.9919 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000343/0.2626, allocations: 63.84 kB / 0.992 GB, free: 14.41 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 (20): * Single equations (assignments): 20 * 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.0001965/0.2628, allocations: 132.5 kB / 0.9921 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.2633, allocations: 183.9 kB / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2633, allocations: 0 / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.2635, allocations: 87.89 kB / 0.9924 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.2639, allocations: 60.33 kB / 0.9924 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.2648, allocations: 487.9 kB / 0.9929 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.2649, allocations: 0.7215 MB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003583/0.2653, allocations: 57.92 kB / 0.9936 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.2654, allocations: 19.44 kB / 0.9937 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2654, allocations: 0 / 0.9937 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.005451/0.2708, allocations: 3.04 MB / 0.9966 GB, free: 9.645 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)