Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1828/0.1835, allocations: 82.23 MB / 0.5941 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002374/0.186, allocations: 0.9803 MB / 0.5951 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.1907, allocations: 3.205 MB / 0.5982 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.1908, allocations: 4 kB / 0.5982 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.1908, allocations: 0 / 0.5982 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.1909, allocations: 3.938 kB / 0.5982 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.1915, allocations: 99.59 kB / 0.5983 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.1916, allocations: 31.86 kB / 0.5983 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.1916, allocations: 4 kB / 0.5983 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.1917, allocations: 19.92 kB / 0.5983 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.1918, allocations: 23.91 kB / 0.5984 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1918, allocations: 4 kB / 0.5984 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1921, allocations: 67.81 kB / 0.5984 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1921, allocations: 11.98 kB / 0.5984 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.1922, allocations: 45.62 kB / 0.5985 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1924, allocations: 72.06 kB / 0.5986 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1924, allocations: 0 / 0.5986 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1924, allocations: 0 / 0.5986 GB, free: 10.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1924, allocations: 0 / 0.5986 GB, free: 10.46 MB / 462.1 MB 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.0004609/0.1929, allocations: 339.5 kB / 0.5989 GB, free: 10.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1929, allocations: 12.03 kB / 0.5989 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1931, allocations: 4.938 kB / 0.5989 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.1933, allocations: 164.3 kB / 0.599 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1933, allocations: 8.375 kB / 0.5991 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1933, allocations: 4.375 kB / 0.5991 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1935, allocations: 57.8 kB / 0.5991 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1935, allocations: 0 / 0.5991 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1935, allocations: 0 / 0.5991 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1935, allocations: 3.984 kB / 0.5991 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.159e-05/0.1936, allocations: 27.98 kB / 0.5991 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.1939, allocations: 165.6 kB / 0.5993 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.194, allocations: 62.41 kB / 0.5994 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.194, allocations: 16.86 kB / 0.5994 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008171/0.1949, allocations: 0.5869 MB / 0.6 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1949, allocations: 38.55 kB / 0.6 GB, free: 8.723 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1949, allocations: 7.938 kB / 0.6 GB, free: 8.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.000681/0.1956, allocations: 302.5 kB / 0.6003 GB, free: 8.367 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1957, allocations: 51.41 kB / 0.6003 GB, free: 8.305 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.1957, allocations: 101.8 kB / 0.6004 GB, free: 8.195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1958, allocations: 25.7 kB / 0.6005 GB, free: 8.164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.1959, allocations: 96.12 kB / 0.6005 GB, free: 8.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1959, allocations: 23.56 kB / 0.6006 GB, free: 8.043 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1959, allocations: 17.7 kB / 0.6006 GB, free: 8.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1961, allocations: 322.8 kB / 0.6009 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.1961, allocations: 12 kB / 0.6009 GB, free: 7.684 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.1962, allocations: 49.14 kB / 0.601 GB, free: 7.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.372e-05/0.1963, allocations: 73.08 kB / 0.601 GB, free: 7.527 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1963, allocations: 0 / 0.601 GB, free: 7.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/0.1964, allocations: 93.64 kB / 0.6011 GB, free: 7.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1965, allocations: 12.03 kB / 0.6011 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1965, allocations: 0 / 0.6011 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1965, allocations: 7.938 kB / 0.6011 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.1966, allocations: 19.98 kB / 0.6012 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1966, allocations: 0 / 0.6012 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.1967, allocations: 7.938 kB / 0.6012 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1967, allocations: 11.94 kB / 0.6012 GB, free: 7.371 MB / 462.1 MB 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 8.651e-05/0.1968, allocations: 118.6 kB / 0.6013 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.1968, allocations: 3.906 kB / 0.6013 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.1968, allocations: 11.97 kB / 0.6013 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1968, allocations: 4 kB / 0.6013 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1969, allocations: 0 / 0.6013 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.1969, allocations: 3.938 kB / 0.6013 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1971, allocations: 169.7 kB / 0.6015 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1971, allocations: 0 / 0.6015 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.1972, allocations: 15.98 kB / 0.6015 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1972, allocations: 0 / 0.6015 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1972, allocations: 4.438 kB / 0.6015 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1972, allocations: 0 / 0.6015 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1972, allocations: 4.281 kB / 0.6015 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1974, allocations: 183.3 kB / 0.6017 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1975, allocations: 89.19 kB / 0.6018 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1975, allocations: 4.031 kB / 0.6018 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1976, allocations: 4 kB / 0.6018 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.1976, allocations: 0 / 0.6018 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1977, allocations: 15.88 kB / 0.6018 GB, free: 6.648 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.981e-05/0.1977, allocations: 87.27 kB / 0.6019 GB, free: 6.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1977, allocations: 0 / 0.6019 GB, free: 6.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.198, allocations: 8 kB / 0.6019 GB, free: 6.555 MB / 462.1 MB 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.0001244/0.1981, allocations: 99.25 kB / 0.602 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1982, allocations: 43.92 kB / 0.602 GB, free: 6.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1982, allocations: 0 / 0.602 GB, free: 6.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.1982, allocations: 16.19 kB / 0.602 GB, free: 6.391 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1986, allocations: 18.64 kB / 0.602 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.1992, allocations: 390.8 kB / 0.6024 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1994, allocations: 0.6809 MB / 0.6031 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.1995, allocations: 11.98 kB / 0.6031 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.1995, allocations: 11.44 kB / 0.6031 GB, free: 5.238 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1995, allocations: 0 / 0.6031 GB, free: 5.238 MB / 462.1 MB Notification: Performance of Templates: time 0.002939/0.2025, allocations: 0.5938 MB / 0.6037 GB, free: 4.648 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: