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.1927/0.1935, allocations: 82.21 MB / 0.5933 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001325/0.1949, allocations: 0.9628 MB / 0.5943 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1979, allocations: 2.836 MB / 0.5971 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.198, allocations: 0 / 0.5971 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.198, allocations: 4 kB / 0.5971 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.198, allocations: 4 kB / 0.5971 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.1984, allocations: 95.52 kB / 0.5972 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.675e-05/0.1985, allocations: 19.97 kB / 0.5972 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.1985, allocations: 8 kB / 0.5972 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.1986, allocations: 19.92 kB / 0.5972 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.1986, allocations: 11.98 kB / 0.5972 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1986, allocations: 4 kB / 0.5972 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1988, allocations: 67.83 kB / 0.5973 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.1988, allocations: 3.984 kB / 0.5973 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.1989, allocations: 37.64 kB / 0.5973 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.199, allocations: 36.17 kB / 0.5974 GB, free: 1.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.199, allocations: 0 / 0.5974 GB, free: 1.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.199, allocations: 0 / 0.5974 GB, free: 1.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.199, allocations: 4 kB / 0.5974 GB, free: 1.906 MB / 446.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.0003227/0.1993, allocations: 342.4 kB / 0.5977 GB, free: 1.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1994, allocations: 15.95 kB / 0.5977 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.1995, allocations: 4 kB / 0.5977 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1996, allocations: 163 kB / 0.5979 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1996, allocations: 4 kB / 0.5979 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1996, allocations: 8 kB / 0.5979 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1998, allocations: 45.67 kB / 0.5979 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1998, allocations: 8 kB / 0.5979 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1998, allocations: 4 kB / 0.5979 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1998, allocations: 0 / 0.5979 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.1999, allocations: 19.92 kB / 0.5979 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.2001, allocations: 173.5 kB / 0.5981 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.093e-05/0.2002, allocations: 46.56 kB / 0.5982 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/0.2008, allocations: 0.591 MB / 0.5987 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2009, allocations: 38.5 kB / 0.5988 GB, free: 200 kB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2009, allocations: 0 / 0.5988 GB, free: 200 kB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005142/0.2014, allocations: 298.2 kB / 0.5991 GB, free: 15.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2014, allocations: 51.41 kB / 0.5991 GB, free: 15.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.2015, allocations: 109.9 kB / 0.5992 GB, free: 15.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2015, allocations: 25.7 kB / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.2016, allocations: 84.14 kB / 0.5993 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.2016, allocations: 35.61 kB / 0.5993 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.2016, allocations: 4 kB / 0.5993 GB, free: 15.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.2017, allocations: 314.8 kB / 0.5997 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.2017, allocations: 12 kB / 0.5997 GB, free: 15.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/0.2018, allocations: 57.14 kB / 0.5997 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.2018, allocations: 19.97 kB / 0.5997 GB, free: 15.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2018, allocations: 4 kB / 0.5997 GB, free: 15.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001297/0.202, allocations: 93.55 kB / 0.5998 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.202, allocations: 8.125 kB / 0.5998 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.202, allocations: 448 / 0.5998 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.202, allocations: 4 kB / 0.5998 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.2021, allocations: 19.98 kB / 0.5999 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2021, allocations: 4 kB / 0.5999 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.2022, allocations: 7.953 kB / 0.5999 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.2022, allocations: 4 kB / 0.5999 GB, free: 14.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.2023, allocations: 117.8 kB / 0.6 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.2023, allocations: 7.906 kB / 0.6 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.2023, allocations: 11.97 kB / 0.6 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2023, allocations: 0 / 0.6 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2023, allocations: 7.922 kB / 0.6 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2023, allocations: 0 / 0.6 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.2026, allocations: 181.5 kB / 0.6002 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2026, allocations: 0 / 0.6002 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.2027, allocations: 16 kB / 0.6002 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2027, allocations: 0 / 0.6002 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2027, allocations: 0 / 0.6002 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2027, allocations: 0 / 0.6002 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2027, allocations: 0 / 0.6002 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.2029, allocations: 191.4 kB / 0.6004 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.2029, allocations: 81.14 kB / 0.6005 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.203, allocations: 4 kB / 0.6005 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.2031, allocations: 4 kB / 0.6005 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.2031, allocations: 4 kB / 0.6005 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2031, allocations: 3.984 kB / 0.6005 GB, free: 14.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.2031, allocations: 83.28 kB / 0.6006 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2031, allocations: 4 kB / 0.6006 GB, free: 14.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.2034, allocations: 8 kB / 0.6006 GB, free: 14.12 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 (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 9.547e-05/0.2035, allocations: 103.2 kB / 0.6007 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.2036, allocations: 44.28 kB / 0.6007 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2036, allocations: 0 / 0.6007 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.2036, allocations: 19.98 kB / 0.6007 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.2038, allocations: 8.203 kB / 0.6007 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.2043, allocations: 390.4 kB / 0.6011 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2046, allocations: 0.6848 MB / 0.6018 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.2047, allocations: 11.94 kB / 0.6018 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.2047, allocations: 11.44 kB / 0.6018 GB, free: 12.81 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2047, allocations: 0 / 0.6018 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Templates: time 0.002361/0.2071, allocations: 0.5697 MB / 0.6024 GB, free: 12.24 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: