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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001231/0.001231, allocations: 187.8 kB / 376.9 MB, free: 1.832 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.49/1.49, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 95.52 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.272, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002851/0.2749, allocations: 1.325 MB / 0.9835 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002969/0.2779, allocations: 2.508 MB / 0.986 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.2779, allocations: 0 / 0.986 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.278, allocations: 7.938 kB / 0.986 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.2781, allocations: 0 / 0.986 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.2785, allocations: 107.5 kB / 0.9861 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.2786, allocations: 47.78 kB / 0.9861 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.986e-05/0.2787, allocations: 7.922 kB / 0.9861 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.2787, allocations: 19.98 kB / 0.9861 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.2788, allocations: 7.938 kB / 0.9862 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2788, allocations: 8 kB / 0.9862 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.2791, allocations: 115.7 kB / 0.9863 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.2791, allocations: 8 kB / 0.9863 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.2791, allocations: 19.91 kB / 0.9863 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.2793, allocations: 84.06 kB / 0.9864 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2793, allocations: 0 / 0.9864 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2793, allocations: 0 / 0.9864 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2794, allocations: 0 / 0.9864 GB, free: 6.102 MB / 0.7136 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.0004014/0.2798, allocations: 351.4 kB / 0.9867 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2798, allocations: 16.03 kB / 0.9867 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.28, allocations: 12.94 kB / 0.9867 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2801, allocations: 164.4 kB / 0.9869 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2802, allocations: 8.375 kB / 0.9869 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.2802, allocations: 4.375 kB / 0.9869 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2803, allocations: 76.31 kB / 0.987 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2804, allocations: 0 / 0.987 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2804, allocations: 4 kB / 0.987 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2804, allocations: 4 kB / 0.987 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.745e-05/0.2804, allocations: 7.938 kB / 0.987 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.281, allocations: 470.8 kB / 0.9875 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.2811, allocations: 79.72 kB / 0.9875 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.2812, allocations: 18.64 kB / 0.9875 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2812, allocations: 0 / 0.9875 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.2812, allocations: 50.52 kB / 0.9876 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.2812, allocations: 4 kB / 0.9876 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005714/0.2818, allocations: 294.2 kB / 0.9879 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.2819, allocations: 102.8 kB / 0.988 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.282, allocations: 106.1 kB / 0.9881 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.282, allocations: 25.7 kB / 0.9881 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.282, allocations: 92.39 kB / 0.9882 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2821, allocations: 31.55 kB / 0.9882 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.2821, allocations: 17.72 kB / 0.9882 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2822, allocations: 326.8 kB / 0.9885 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.2823, allocations: 12 kB / 0.9886 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.817e-05/0.2823, allocations: 53.08 kB / 0.9886 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.2824, allocations: 77.25 kB / 0.9887 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2824, allocations: 0 / 0.9887 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001353/0.2826, allocations: 101.5 kB / 0.9888 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2826, allocations: 8.125 kB / 0.9888 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2826, allocations: 3.938 kB / 0.9888 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2826, allocations: 4 kB / 0.9888 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.2827, allocations: 16 kB / 0.9888 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.2827, allocations: 11.92 kB / 0.9888 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.2827, allocations: 0 / 0.9888 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2828, allocations: 8 kB / 0.9888 GB, free: 3.23 MB / 0.7136 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 8.698e-05/0.2828, allocations: 121.8 kB / 0.9889 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.2829, allocations: 4 kB / 0.9889 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.283, allocations: 11.56 kB / 0.989 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.283, allocations: 0 / 0.989 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.283, allocations: 4 kB / 0.989 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.283, allocations: 0 / 0.989 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.2833, allocations: 173.6 kB / 0.9891 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2833, allocations: 3.938 kB / 0.9891 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.2834, allocations: 20.05 kB / 0.9892 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2834, allocations: 7.938 kB / 0.9892 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2834, allocations: 4 kB / 0.9892 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2835, allocations: 4 kB / 0.9892 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2835, allocations: 7.984 kB / 0.9892 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.2845, allocations: 1.221 MB / 0.9904 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.2846, allocations: 89.14 kB / 0.9905 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.2846, allocations: 4 kB / 0.9905 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2847, allocations: 3.938 kB / 0.9905 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.2848, allocations: 7.984 kB / 0.9905 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2848, allocations: 8 kB / 0.9905 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.2848, allocations: 75.28 kB / 0.9905 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2848, allocations: 0 / 0.9905 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003565/0.2852, allocations: 20 kB / 0.9906 GB, free: 1.238 MB / 0.7136 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.0001614/0.2854, allocations: 107.2 kB / 0.9907 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.2855, allocations: 55.83 kB / 0.9907 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2855, allocations: 0 / 0.9907 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.2855, allocations: 19.94 kB / 0.9907 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.286, allocations: 4.375 kB / 0.9907 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.2867, allocations: 472.7 kB / 0.9912 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.287, allocations: 0.6887 MB / 0.9919 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.702e-05/0.287, allocations: 8 kB / 0.9919 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.2871, allocations: 11.44 kB / 0.9919 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.2871, allocations: 0 / 0.9919 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.002815/0.2899, allocations: 0.6686 MB / 0.9925 GB, free: 15.14 MB / 0.7292 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)