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.001274/0.001274, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001368/0.001368, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.43/1.43, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.662/1.662, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001386/0.001386, allocations: 71.08 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.209, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002319/0.2113, allocations: 1.325 MB / 0.7848 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.2147, allocations: 3.235 MB / 0.788 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.2147, allocations: 0 / 0.788 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.2148, allocations: 0 / 0.788 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.2148, allocations: 0 / 0.788 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.2153, allocations: 95.61 kB / 0.788 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2154, allocations: 35.84 kB / 0.7881 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.051e-05/0.2154, allocations: 3.984 kB / 0.7881 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.2155, allocations: 27.92 kB / 0.7881 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.2155, allocations: 23.91 kB / 0.7881 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.2155, allocations: 0 / 0.7881 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.2157, allocations: 71.81 kB / 0.7882 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.2158, allocations: 11.98 kB / 0.7882 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.2158, allocations: 15.92 kB / 0.7882 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2159, allocations: 48.16 kB / 0.7883 GB, free: 9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2159, allocations: 4 kB / 0.7883 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2159, allocations: 0 / 0.7883 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2159, allocations: 3.938 kB / 0.7883 GB, free: 8.992 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.0004257/0.2164, allocations: 347.5 kB / 0.7886 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2164, allocations: 8.031 kB / 0.7886 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.832e-05/0.2165, allocations: 8.922 kB / 0.7886 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2166, allocations: 168.3 kB / 0.7888 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.2167, allocations: 384 / 0.7888 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.2167, allocations: 8.375 kB / 0.7888 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2168, allocations: 57.78 kB / 0.7889 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.2168, allocations: 0 / 0.7889 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2168, allocations: 8 kB / 0.7889 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.2168, allocations: 0 / 0.7889 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.2169, allocations: 19.92 kB / 0.7889 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.2171, allocations: 169.6 kB / 0.789 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2172, allocations: 46.56 kB / 0.7891 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.2173, allocations: 16.86 kB / 0.7891 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.2179, allocations: 0.5987 MB / 0.7897 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2179, allocations: 34.56 kB / 0.7897 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2179, allocations: 0 / 0.7897 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005038/0.2184, allocations: 302.2 kB / 0.79 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2185, allocations: 51.41 kB / 0.7901 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.2185, allocations: 105.8 kB / 0.7902 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2186, allocations: 29.64 kB / 0.7902 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.2186, allocations: 88.05 kB / 0.7903 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.2186, allocations: 27.55 kB / 0.7903 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2187, allocations: 25.72 kB / 0.7903 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2188, allocations: 318.8 kB / 0.7906 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.2188, allocations: 15.98 kB / 0.7906 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.2189, allocations: 57.14 kB / 0.7907 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.494e-05/0.219, allocations: 69.47 kB / 0.7908 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.219, allocations: 0 / 0.7908 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001217/0.2191, allocations: 93.78 kB / 0.7908 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2191, allocations: 8 kB / 0.7909 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2191, allocations: 0 / 0.7909 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2191, allocations: 12.03 kB / 0.7909 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.2192, allocations: 23.98 kB / 0.7909 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2192, allocations: 3.938 kB / 0.7909 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.2193, allocations: 7.938 kB / 0.7909 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2193, allocations: 4 kB / 0.7909 GB, free: 5.891 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 6.805e-05/0.2194, allocations: 121.9 kB / 0.791 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.2194, allocations: 7.891 kB / 0.791 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2194, allocations: 11.97 kB / 0.791 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2194, allocations: 0 / 0.791 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2195, allocations: 0 / 0.791 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2195, allocations: 3.938 kB / 0.791 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2197, allocations: 177.7 kB / 0.7912 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2197, allocations: 0 / 0.7912 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.2198, allocations: 12 kB / 0.7912 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2198, allocations: 4 kB / 0.7912 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2198, allocations: 7.984 kB / 0.7912 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2198, allocations: 80 / 0.7912 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2198, allocations: 3.984 kB / 0.7912 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.22, allocations: 171.3 kB / 0.7914 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.2201, allocations: 85.14 kB / 0.7915 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2201, allocations: 0 / 0.7915 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2202, allocations: 8 kB / 0.7915 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.2202, allocations: 3.984 kB / 0.7915 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2202, allocations: 11.94 kB / 0.7915 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.2203, allocations: 79.28 kB / 0.7916 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2203, allocations: 0 / 0.7916 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002298/0.2205, allocations: 12 kB / 0.7916 GB, free: 5.09 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.0001035/0.2206, allocations: 103.2 kB / 0.7917 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2207, allocations: 47.84 kB / 0.7917 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2207, allocations: 4.25 kB / 0.7917 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.2208, allocations: 16 kB / 0.7918 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.221, allocations: 8 kB / 0.7918 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.2216, allocations: 376 kB / 0.7921 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2219, allocations: 0.6807 MB / 0.7928 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.2219, allocations: 11.44 kB / 0.7928 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2219, allocations: 0 / 0.7928 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.001741/0.2237, allocations: 0.7733 MB / 0.7936 GB, free: 3.004 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)