Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.679/1.679, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.001012/0.001012, allocations: 176.5 kB / 371.2 MB, free: 10.75 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.568/1.568, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008468/0.0008467, allocations: 94.5 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 15.19 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1857, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001575/0.1873, allocations: 0.9742 MB / 0.9796 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.191, allocations: 3.05 MB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.191, allocations: 0 / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.1911, allocations: 3.938 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.1911, allocations: 11.92 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.1917, allocations: 83.62 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.1918, allocations: 31.91 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1918, allocations: 4 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.1919, allocations: 15.92 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.1919, allocations: 23.91 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1919, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1921, allocations: 55.84 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1922, allocations: 7.984 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1922, allocations: 29.7 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1923, allocations: 40.17 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1923, allocations: 0 / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.1923, allocations: 0 / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1923, allocations: 3.938 kB / 0.9829 GB, free: 23.84 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.0003214/0.1927, allocations: 335.5 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1927, allocations: 8.031 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.1928, allocations: 4.938 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.095e-05/0.1929, allocations: 172.3 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1929, allocations: 8.375 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.193, allocations: 4.375 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1931, allocations: 61.73 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1931, allocations: 0 / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1931, allocations: 0 / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1931, allocations: 3.984 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.1932, allocations: 19.98 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1933, allocations: 161.7 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.1934, allocations: 58.48 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.1935, allocations: 16.86 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.1941, allocations: 0.5946 MB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.1941, allocations: 34.56 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.1941, allocations: 4 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00052/0.1946, allocations: 302.5 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.1947, allocations: 51.41 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.1947, allocations: 101.8 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.1947, allocations: 25.7 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.1948, allocations: 88.05 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.1948, allocations: 27.56 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.1948, allocations: 0 / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.1948, allocations: 326.8 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.1949, allocations: 19.88 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.1949, allocations: 53.08 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.195, allocations: 77.08 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.195, allocations: 0 / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001113/0.1951, allocations: 89.55 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1951, allocations: 5.719 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1951, allocations: 4 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1952, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.1952, allocations: 23.94 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1953, allocations: 12.11 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.1953, allocations: 3.938 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1953, allocations: 4 kB / 0.9855 GB, free: 20.77 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 6.37e-05/0.1954, allocations: 119.1 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1954, allocations: 7.906 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.1955, allocations: 7.969 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1955, allocations: 0 / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1955, allocations: 0 / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1955, allocations: 3.938 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1957, allocations: 177.9 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1957, allocations: 4 kB / 0.9858 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/0.1958, allocations: 19.92 kB / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1958, allocations: 0 / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1958, allocations: 0 / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1958, allocations: 0 / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1958, allocations: 3.984 kB / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.196, allocations: 175.5 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.1961, allocations: 85.02 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1961, allocations: 4 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1962, allocations: 8.469 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.1962, allocations: 4 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1962, allocations: 11.81 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.394e-05/0.1963, allocations: 79.28 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1963, allocations: 0 / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002237/0.1965, allocations: 16 kB / 0.9862 GB, free: 19.97 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.0001299/0.1966, allocations: 103.2 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1967, allocations: 39.92 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1968, allocations: 0 / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.1968, allocations: 16 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1971, allocations: 11.92 kB / 0.9863 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.1977, allocations: 383 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.1979, allocations: 0.6888 MB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.674e-05/0.1979, allocations: 0 / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.198, allocations: 15.44 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.198, allocations: 0 / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.002591/0.2006, allocations: 0.5833 MB / 0.988 GB, free: 18.08 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)