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.001324/0.001324, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001154/0.001154, allocations: 192.8 kB / 16.14 MB, free: 6.699 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.353/1.353, allocations: 205.1 MB / 222 MB, free: 4.777 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.672/1.672, allocations: 292.3 MB / 0.5484 GB, free: 13.72 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.001292/0.001292, allocations: 61.52 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2545, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002474/0.257, allocations: 1.34 MB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.2599, allocations: 2.497 MB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.26, allocations: 0 / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.26, allocations: 0 / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.2601, allocations: 3.938 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.2606, allocations: 119.5 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.16e-05/0.2607, allocations: 39.84 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.2607, allocations: 7.984 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.2607, allocations: 12 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.2608, allocations: 23.91 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.2608, allocations: 0 / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.2611, allocations: 115.7 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.2612, allocations: 7.922 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.2612, allocations: 19.92 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2614, allocations: 80.06 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2614, allocations: 4 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2614, allocations: 4 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.2614, allocations: 0 / 0.7868 GB, free: 9.758 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.0004618/0.2619, allocations: 347.5 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.262, allocations: 15.95 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.2622, allocations: 16.84 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2623, allocations: 160.4 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2623, allocations: 4.375 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2624, allocations: 8.359 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.2625, allocations: 84.31 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2625, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2626, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2626, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.2626, allocations: 23.91 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.2632, allocations: 470.8 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2634, allocations: 67.66 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.2634, allocations: 18.7 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2634, allocations: 8 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2635, allocations: 38.5 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.2635, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006821/0.2642, allocations: 298.2 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2642, allocations: 115.1 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.2643, allocations: 97.84 kB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2644, allocations: 29.7 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.2644, allocations: 84.05 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.2645, allocations: 31.55 kB / 0.7887 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.2645, allocations: 25.72 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2646, allocations: 318.8 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.2647, allocations: 15.98 kB / 0.789 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.2647, allocations: 49.14 kB / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.2648, allocations: 77.03 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2649, allocations: 4 kB / 0.7891 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000138/0.265, allocations: 89.55 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.265, allocations: 11.94 kB / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.265, allocations: 0.6094 kB / 0.7892 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.2651, allocations: 7.984 kB / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.2651, allocations: 16 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2652, allocations: 0 / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.2652, allocations: 15.84 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.2652, allocations: 4.125 kB / 0.7893 GB, free: 6.895 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 9.774e-05/0.2653, allocations: 130.4 kB / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.2654, allocations: 0 / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.2654, allocations: 11.56 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2654, allocations: 3.984 kB / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2655, allocations: 0 / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2655, allocations: 4 kB / 0.7894 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.2658, allocations: 181.6 kB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2658, allocations: 0 / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.2659, allocations: 19.98 kB / 0.7896 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2659, allocations: 8 kB / 0.7896 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2659, allocations: 0 / 0.7896 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2659, allocations: 0 / 0.7896 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.266, allocations: 7.938 kB / 0.7896 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.2662, allocations: 321.9 kB / 0.7899 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.2663, allocations: 85.11 kB / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2663, allocations: 4 kB / 0.79 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2665, allocations: 8.031 kB / 0.79 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.2665, allocations: 4 kB / 0.79 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2665, allocations: 7.938 kB / 0.79 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.2666, allocations: 79.28 kB / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2666, allocations: 0 / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003084/0.2669, allocations: 12 kB / 0.7901 GB, free: 5.926 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.0001742/0.2671, allocations: 115.2 kB / 0.7902 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.2672, allocations: 43.92 kB / 0.7903 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2672, allocations: 0 / 0.7903 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.2673, allocations: 15.94 kB / 0.7903 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.2678, allocations: 15.08 kB / 0.7903 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.2685, allocations: 362.3 kB / 0.7906 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2687, allocations: 0.6809 MB / 0.7913 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.078e-05/0.2688, allocations: 11.98 kB / 0.7913 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2689, allocations: 11.44 kB / 0.7913 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2689, allocations: 0 / 0.7913 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of Templates: time 0.002768/0.2716, allocations: 0.6188 MB / 0.7919 GB, free: 4.035 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)