Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.00123/0.001231, allocations: 183.8 kB / 371.9 MB, free: 10.28 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.893/1.893, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008641/0.0008642, allocations: 103.2 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 10.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001163/0.2518, allocations: 0.9671 MB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.2537, allocations: 1.881 MB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.2538, allocations: 4 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.2538, allocations: 7.922 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.2538, allocations: 7.984 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.2542, allocations: 107.7 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.2543, allocations: 19.97 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.2544, allocations: 7.984 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.2544, allocations: 19.92 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.2545, allocations: 23.91 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2545, allocations: 0 / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.2547, allocations: 107.9 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.2547, allocations: 8 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2548, allocations: 33.69 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2549, allocations: 56.03 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2549, allocations: 0 / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2549, allocations: 0 / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2549, allocations: 0 / 0.9826 GB, free: 24.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000322/0.2552, allocations: 335.4 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2553, allocations: 12.02 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.2555, allocations: 27.84 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.2556, allocations: 159.1 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2556, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2556, allocations: 11.94 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2557, allocations: 64.25 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2558, allocations: 3.984 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2558, allocations: 4 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2558, allocations: 4 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.2558, allocations: 15.92 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.2563, allocations: 466.9 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.2565, allocations: 75.81 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.2565, allocations: 0 / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2565, allocations: 42.56 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.2565, allocations: 0 / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005169/0.257, allocations: 306.3 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.2571, allocations: 102.8 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.2571, allocations: 97.86 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.2571, allocations: 25.7 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.2572, allocations: 95.98 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.2572, allocations: 31.53 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.2572, allocations: 4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.2573, allocations: 322.9 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.2573, allocations: 8 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.2573, allocations: 53.14 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.2574, allocations: 15.94 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2574, allocations: 4 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001223/0.2575, allocations: 97.55 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2575, allocations: 4 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2575, allocations: 0 / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2575, allocations: 7.953 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.2576, allocations: 20.59 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2576, allocations: 4 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.2577, allocations: 0 / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2577, allocations: 12.12 kB / 0.9849 GB, free: 21.7 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.2578, allocations: 117.8 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.2578, allocations: 7.906 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.2578, allocations: 15.48 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2579, allocations: 4.016 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2579, allocations: 8 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2579, allocations: 3.984 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2582, allocations: 169.7 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2582, allocations: 0 / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.2582, allocations: 20 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2583, allocations: 0 / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2583, allocations: 4 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2583, allocations: 7.984 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2583, allocations: 7.891 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.2585, allocations: 345.5 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.2585, allocations: 88.98 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2585, allocations: 7.953 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2587, allocations: 0 / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.2587, allocations: 7.984 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2587, allocations: 8 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.864e-05/0.2588, allocations: 75.28 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2588, allocations: 7.938 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002928/0.2591, allocations: 16 kB / 0.9858 GB, free: 20.69 MB / 0.6198 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 (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.0001195/0.2592, allocations: 103.2 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.2593, allocations: 43.91 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2593, allocations: 0 / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.2593, allocations: 19.94 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2596, allocations: 8.375 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.2601, allocations: 400.5 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2603, allocations: 0.6809 MB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.784e-05/0.2603, allocations: 15.97 kB / 0.987 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.2603, allocations: 11.44 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2604, allocations: 0 / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.002457/0.2628, allocations: 0.5927 MB / 0.9876 GB, free: 18.8 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)