Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 109.3 kB / 16.36 MB, free: 6.426 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.001037/0.001037, allocations: 190.6 kB / 17.3 MB, free: 5.805 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001492/0.001492, allocations: 63.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2649, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002516/0.2675, allocations: 1.253 MB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3887/0.6562, allocations: 2.491 MB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.6563, allocations: 2.625 kB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.6563, allocations: 2.812 kB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.6564, allocations: 6.406 kB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.6569, allocations: 135.1 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.6569, allocations: 30.33 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.657, allocations: 8.047 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.657, allocations: 20.44 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.6571, allocations: 18.48 kB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.6571, allocations: 0 / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.6574, allocations: 115.3 kB / 0.7888 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.6574, allocations: 11.97 kB / 0.7888 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.6575, allocations: 21.17 kB / 0.7888 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.6576, allocations: 82.09 kB / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6576, allocations: 3.906 kB / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6577, allocations: 0 / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.6577, allocations: 0 / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003108/0.658, allocations: 348.8 kB / 0.7892 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.658, allocations: 8.188 kB / 0.7892 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.6582, allocations: 22.25 kB / 0.7892 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.608e-05/0.6583, allocations: 161 kB / 0.7894 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.6583, allocations: 6.906 kB / 0.7894 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.6583, allocations: 8.688 kB / 0.7894 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.6585, allocations: 75.47 kB / 0.7895 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6585, allocations: 0 / 0.7895 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6585, allocations: 2.938 kB / 0.7895 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6585, allocations: 1.219 kB / 0.7895 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.6585, allocations: 11.67 kB / 0.7895 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.659, allocations: 475.9 kB / 0.79 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.6591, allocations: 73.44 kB / 0.79 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.6591, allocations: 23.36 kB / 0.79 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.6591, allocations: 2.594 kB / 0.79 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.6591, allocations: 39.72 kB / 0.7901 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.6592, allocations: 0 / 0.7901 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005011/0.6597, allocations: 303.5 kB / 0.7904 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.6597, allocations: 109 kB / 0.7905 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.27e-05/0.6597, allocations: 99.17 kB / 0.7906 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.6598, allocations: 31.45 kB / 0.7906 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.6598, allocations: 85.64 kB / 0.7907 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.6598, allocations: 29.22 kB / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.6599, allocations: 25.72 kB / 0.7907 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.6599, allocations: 320.5 kB / 0.791 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.6599, allocations: 15.02 kB / 0.7911 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.66, allocations: 57.95 kB / 0.7911 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.66, allocations: 73.67 kB / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6601, allocations: 0 / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001108/0.6602, allocations: 94.45 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.6602, allocations: 7.875 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.6602, allocations: 1.672 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6602, allocations: 3.125 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.6603, allocations: 28.42 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6603, allocations: 3.5 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.6604, allocations: 2.625 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.6604, allocations: 6.531 kB / 0.7913 GB, free: 44.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 4.769e-05/0.6604, allocations: 124.7 kB / 0.7914 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.6605, allocations: 2.625 kB / 0.7914 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.6605, allocations: 11.11 kB / 0.7915 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6605, allocations: 2.625 kB / 0.7915 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6605, allocations: 3.125 kB / 0.7915 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6605, allocations: 2.625 kB / 0.7915 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.6608, allocations: 174.9 kB / 0.7916 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6608, allocations: 3.531 kB / 0.7916 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.6609, allocations: 22.83 kB / 0.7917 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6609, allocations: 5.406 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.6609, allocations: 1.562 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6609, allocations: 4.562 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6609, allocations: 4.969 kB / 0.7917 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.6611, allocations: 333.8 kB / 0.792 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.6612, allocations: 86.94 kB / 0.7921 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.6612, allocations: 2.562 kB / 0.7921 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.6614, allocations: 2.562 kB / 0.7921 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.6614, allocations: 6.031 kB / 0.7921 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.6614, allocations: 10 kB / 0.7921 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.86e-05/0.6614, allocations: 81.88 kB / 0.7922 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6614, allocations: 0 / 0.7922 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000312/0.6617, allocations: 9.5 kB / 0.7922 GB, free: 43.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001045/0.6619, allocations: 108.6 kB / 0.7923 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.662, allocations: 50.77 kB / 0.7923 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.662, allocations: 0.625 kB / 0.7923 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.467e-05/0.662, allocations: 22.84 kB / 0.7924 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.6624, allocations: 7.422 kB / 0.7924 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.6629, allocations: 337.5 kB / 0.7927 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.6631, allocations: 0.6845 MB / 0.7934 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.6631, allocations: 10.41 kB / 0.7934 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.6631, allocations: 14.09 kB / 0.7934 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.6631, allocations: 0 / 0.7934 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.002703/0.6658, allocations: 0.6427 MB / 0.794 GB, free: 42.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)