Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001724/0.001724, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 5.004 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.649/1.649, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.002234/0.002244, allocations: 63.39 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2662, allocations: 114.5 MB / 0.7826 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003016/0.2693, allocations: 1.329 MB / 0.7839 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.2733, allocations: 3.247 MB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.2733, allocations: 0 / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.2734, allocations: 0 / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.2734, allocations: 3.938 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.2739, allocations: 95.61 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.274, allocations: 31.86 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.2741, allocations: 7.984 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.2741, allocations: 15.98 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.2742, allocations: 23.86 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2742, allocations: 4 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.2744, allocations: 75.8 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.2745, allocations: 7.984 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2745, allocations: 27.86 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.2747, allocations: 68.08 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2747, allocations: 4 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2747, allocations: 0 / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2747, allocations: 0 / 0.7875 GB, free: 9.059 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.0004189/0.2752, allocations: 335.5 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2752, allocations: 12.03 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2754, allocations: 8.922 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2755, allocations: 172.3 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2755, allocations: 8.359 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2755, allocations: 4.375 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2757, allocations: 57.8 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2757, allocations: 0 / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2757, allocations: 4 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2757, allocations: 0 / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.2758, allocations: 15.98 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.276, allocations: 165.6 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.2761, allocations: 58.5 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.2761, allocations: 20.84 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007669/0.2769, allocations: 0.5987 MB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.277, allocations: 34.56 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.277, allocations: 0 / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006464/0.2776, allocations: 302.2 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.2777, allocations: 51.41 kB / 0.7892 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.2778, allocations: 105.8 kB / 0.7893 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2778, allocations: 29.7 kB / 0.7894 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.2779, allocations: 88.08 kB / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2779, allocations: 31.55 kB / 0.7895 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.2779, allocations: 21.72 kB / 0.7895 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.278, allocations: 322.8 kB / 0.7898 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.2781, allocations: 15.98 kB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.2781, allocations: 49.14 kB / 0.7899 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.555e-05/0.2783, allocations: 69.09 kB / 0.7899 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2783, allocations: 0 / 0.7899 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001451/0.2784, allocations: 101.5 kB / 0.79 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2784, allocations: 4 kB / 0.79 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2784, allocations: 0 / 0.79 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2785, allocations: 7.984 kB / 0.7901 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.2786, allocations: 24.06 kB / 0.7901 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2786, allocations: 4 kB / 0.7901 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.2786, allocations: 3.938 kB / 0.7901 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2786, allocations: 7.938 kB / 0.7901 GB, free: 5.957 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 7.854e-05/0.2787, allocations: 117.8 kB / 0.7902 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.2787, allocations: 7.984 kB / 0.7902 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.2788, allocations: 7.969 kB / 0.7902 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2788, allocations: 3.938 kB / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2788, allocations: 0 / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2788, allocations: 7.938 kB / 0.7902 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.2791, allocations: 177.7 kB / 0.7904 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2791, allocations: 0 / 0.7904 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.2792, allocations: 16 kB / 0.7904 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2792, allocations: 3.984 kB / 0.7904 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2792, allocations: 0 / 0.7904 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2792, allocations: 0 / 0.7904 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2792, allocations: 448 / 0.7904 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2794, allocations: 179.7 kB / 0.7906 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.2795, allocations: 85.14 kB / 0.7907 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2795, allocations: 8.031 kB / 0.7907 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2796, allocations: 4 kB / 0.7907 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.2796, allocations: 11.97 kB / 0.7907 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.2796, allocations: 3.938 kB / 0.7907 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.2797, allocations: 83.28 kB / 0.7908 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2797, allocations: 0 / 0.7908 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002349/0.2799, allocations: 8 kB / 0.7908 GB, free: 5.152 MB / 0.6075 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 (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.0001425/0.2801, allocations: 107.2 kB / 0.7909 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2802, allocations: 43.89 kB / 0.7909 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2802, allocations: 8 kB / 0.7909 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.2802, allocations: 11.94 kB / 0.7909 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2806, allocations: 8 kB / 0.791 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.2811, allocations: 340.2 kB / 0.7913 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2814, allocations: 0.6837 MB / 0.7919 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.2814, allocations: 11.98 kB / 0.792 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.2815, allocations: 11.44 kB / 0.792 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2815, allocations: 0 / 0.792 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.002827/0.2843, allocations: 0.5983 MB / 0.7926 GB, free: 3.277 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)