Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.923/1.923, allocations: 288.3 MB / 303.2 MB, free: 8.199 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.00136/0.00136, allocations: 169.1 kB / 371.8 MB, free: 10.3 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.775/1.775, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009468/0.0009469, allocations: 105.1 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 19.3 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2815, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001428/0.283, allocations: 0.9651 MB / 0.9803 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.2858, allocations: 2.826 MB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.2858, allocations: 0 / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.2859, allocations: 4 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.2859, allocations: 11.92 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.2863, allocations: 87.7 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.2864, allocations: 23.95 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/0.2865, allocations: 8 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.2865, allocations: 12 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.2866, allocations: 19.91 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2867, allocations: 4 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.2869, allocations: 63.89 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.2869, allocations: 0 / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.2869, allocations: 29.7 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2871, allocations: 44.11 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2871, allocations: 0 / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2871, allocations: 0 / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2871, allocations: 4 kB / 0.9834 GB, free: 23.61 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.000393/0.2875, allocations: 339.3 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.2876, allocations: 12.02 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2877, allocations: 7.953 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/0.2878, allocations: 167 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2878, allocations: 7.984 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.2878, allocations: 11.94 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.288, allocations: 45.67 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.288, allocations: 8 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.288, allocations: 4 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.288, allocations: 0 / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.2881, allocations: 15.98 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.2883, allocations: 169.6 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.2884, allocations: 54.5 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.289, allocations: 0.5871 MB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.289, allocations: 38.56 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.289, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005396/0.2896, allocations: 302.2 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.2896, allocations: 55.41 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.2896, allocations: 101.8 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2897, allocations: 29.7 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.2897, allocations: 88.05 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.2897, allocations: 35.48 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2897, allocations: 4 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.2898, allocations: 314.8 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.2898, allocations: 12 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.2899, allocations: 53.14 kB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.2899, allocations: 16 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2899, allocations: 4 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001065/0.29, allocations: 89.55 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2901, allocations: 12.08 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2901, allocations: 0 / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2901, allocations: 4 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.2902, allocations: 27.92 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.2902, allocations: 4 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.2902, allocations: 0 / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2902, allocations: 4 kB / 0.9859 GB, free: 20.64 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 7.588e-05/0.2903, allocations: 113.8 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2903, allocations: 7.906 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.2904, allocations: 15.92 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2904, allocations: 3.984 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2904, allocations: 3.938 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2904, allocations: 0 / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2906, allocations: 178.2 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2906, allocations: 0 / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.2907, allocations: 20 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2907, allocations: 0 / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2908, allocations: 3.938 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2908, allocations: 3.953 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2908, allocations: 3.938 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.2909, allocations: 171.5 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.291, allocations: 85.42 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.291, allocations: 0 / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2911, allocations: 11.94 kB / 0.9865 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.2912, allocations: 7.953 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.2912, allocations: 3.984 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.2912, allocations: 83.27 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2912, allocations: 4 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002284/0.2914, allocations: 12 kB / 0.9866 GB, free: 19.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001172/0.2916, allocations: 99.25 kB / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.2917, allocations: 39.92 kB / 0.9868 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2917, allocations: 0 / 0.9868 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.2917, allocations: 27.91 kB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.2919, allocations: 13.09 kB / 0.9868 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.2924, allocations: 379.8 kB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2926, allocations: 0.6887 MB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.429e-05/0.2926, allocations: 4 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.2927, allocations: 11.44 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2927, allocations: 0 / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.002569/0.2953, allocations: 0.5681 MB / 0.9884 GB, free: 17.96 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)