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.001705/0.001705, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 187.3 kB / 16.62 MB, free: 6.613 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.74/1.74, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001475/0.001475, allocations: 69.12 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002487/0.2834, allocations: 1.274 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00315/0.2866, allocations: 2.497 MB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.2866, allocations: 3.938 kB / 0.7878 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.2867, allocations: 3.984 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.2867, allocations: 7.938 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.2873, allocations: 127.4 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.2874, allocations: 31.92 kB / 0.788 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.2874, allocations: 7.938 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.798e-05/0.2875, allocations: 23.91 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.2876, allocations: 15.92 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.2876, allocations: 0 / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.2879, allocations: 119.8 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.2879, allocations: 11.98 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.2879, allocations: 15.92 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2882, allocations: 83.78 kB / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2882, allocations: 0 / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2882, allocations: 0 / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2882, allocations: 0 / 0.7882 GB, free: 8.508 MB / 0.6075 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.000567/0.2888, allocations: 351.4 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.2888, allocations: 16.03 kB / 0.7886 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.2891, allocations: 16.83 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2892, allocations: 168.3 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2893, allocations: 4.375 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.2893, allocations: 8.375 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.2895, allocations: 72.38 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2895, allocations: 0 / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2895, allocations: 0 / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.2896, allocations: 8 kB / 0.7888 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.2896, allocations: 11.92 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.2904, allocations: 462.9 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.2905, allocations: 75.72 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.2906, allocations: 30.66 kB / 0.7894 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2906, allocations: 0 / 0.7894 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2906, allocations: 34.56 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.2906, allocations: 4 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006949/0.2913, allocations: 306.1 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.2914, allocations: 102.8 kB / 0.7898 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.2915, allocations: 97.86 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2915, allocations: 25.7 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.2916, allocations: 96.28 kB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.2916, allocations: 31.56 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.2916, allocations: 21.7 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2918, allocations: 322.8 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.2918, allocations: 15.98 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.2919, allocations: 49.09 kB / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/0.292, allocations: 73.59 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.292, allocations: 4 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001348/0.2921, allocations: 105.5 kB / 0.7906 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2921, allocations: 4 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2921, allocations: 8.062 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2922, allocations: 4 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.2923, allocations: 23.92 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2923, allocations: 4 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.2923, allocations: 3.906 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2923, allocations: 4 kB / 0.7907 GB, free: 5.633 MB / 0.6075 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 0.0001022/0.2924, allocations: 117.8 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2925, allocations: 4 kB / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.2925, allocations: 11.56 kB / 0.7908 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2926, allocations: 0 / 0.7908 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2926, allocations: 7.984 kB / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2926, allocations: 0 / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.2929, allocations: 177.6 kB / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2929, allocations: 0 / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.293, allocations: 19.94 kB / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.293, allocations: 0 / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.293, allocations: 0 / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2931, allocations: 4 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2931, allocations: 0 / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.2934, allocations: 345.8 kB / 0.7913 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.2934, allocations: 81.14 kB / 0.7914 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2934, allocations: 4 kB / 0.7914 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2936, allocations: 4 kB / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.2937, allocations: 7.984 kB / 0.7914 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2937, allocations: 11.94 kB / 0.7914 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.2937, allocations: 79.28 kB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2937, allocations: 0 / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003005/0.294, allocations: 12 kB / 0.7915 GB, free: 4.664 MB / 0.6075 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.0001596/0.2942, allocations: 103.2 kB / 0.7916 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.2943, allocations: 52.03 kB / 0.7917 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2943, allocations: 4.062 kB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.2944, allocations: 16 kB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.2948, allocations: 11.98 kB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.2955, allocations: 356.2 kB / 0.792 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.2957, allocations: 0.6873 MB / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.2958, allocations: 11.78 kB / 0.7927 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.2958, allocations: 11.44 kB / 0.7927 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2958, allocations: 0 / 0.7927 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.003003/0.2988, allocations: 0.639 MB / 0.7934 GB, free: 2.758 MB / 0.6075 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)