Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.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.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") translateModel(Buildings.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") [/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.186/0.1867, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTestImplementation): time 0.0124/0.1991, allocations: 11 MB / 0.6041 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.2011, allocations: 1.413 MB / 0.6055 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.2013, allocations: 4 kB / 0.6055 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.2018, allocations: 147.3 kB / 0.6056 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.2022, allocations: 195.4 kB / 0.6058 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.2026, allocations: 162.3 kB / 0.606 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.203, allocations: 375.2 kB / 0.6063 GB, free: 8.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2033, allocations: 76.61 kB / 0.6064 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.2038, allocations: 259.2 kB / 0.6066 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.204, allocations: 139.4 kB / 0.6068 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.204, allocations: 12 kB / 0.6068 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.2041, allocations: 20 kB / 0.6068 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.2042, allocations: 55.75 kB / 0.6069 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.201e-05/0.2043, allocations: 85.56 kB / 0.6069 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.2045, allocations: 275.5 kB / 0.6072 GB, free: 7.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.2045, allocations: 0 / 0.6072 GB, free: 7.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2046, allocations: 0 / 0.6072 GB, free: 7.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2046, allocations: 4 kB / 0.6072 GB, free: 7.762 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006992/0.2053, allocations: 0.5058 MB / 0.6077 GB, free: 7.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2053, allocations: 8.031 kB / 0.6077 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.2057, allocations: 39.7 kB / 0.6077 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.2061, allocations: 270.5 kB / 0.608 GB, free: 6.859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.2062, allocations: 12.56 kB / 0.608 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.2062, allocations: 24 kB / 0.608 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.2067, allocations: 300 kB / 0.6083 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.2067, allocations: 4 kB / 0.6083 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.2068, allocations: 15.94 kB / 0.6083 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.2068, allocations: 19.98 kB / 0.6084 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.2071, allocations: 165.5 kB / 0.6085 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.2093, allocations: 1.837 MB / 0.6103 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.2096, allocations: 110.6 kB / 0.6104 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2096, allocations: 3.984 kB / 0.6104 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.2097, allocations: 42.52 kB / 0.6105 GB, free: 4.137 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2097, allocations: 0 / 0.6105 GB, free: 4.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001272/0.2109, allocations: 0.6312 MB / 0.6111 GB, free: 3.434 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.211, allocations: 59.34 kB / 0.6111 GB, free: 3.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.2113, allocations: 270.6 kB / 0.6114 GB, free: 3.086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2114, allocations: 29.7 kB / 0.6114 GB, free: 3.051 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.2115, allocations: 191.5 kB / 0.6116 GB, free: 2.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.2116, allocations: 67.12 kB / 0.6117 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.2116, allocations: 4 kB / 0.6117 GB, free: 2.789 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2117, allocations: 338.8 kB / 0.612 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.2118, allocations: 59.91 kB / 0.6121 GB, free: 2.391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.212, allocations: 157 kB / 0.6122 GB, free: 2.191 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.2122, allocations: 84.88 kB / 0.6123 GB, free: 2.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2122, allocations: 0 / 0.6123 GB, free: 2.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004083/0.2126, allocations: 289.7 kB / 0.6126 GB, free: 1.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2126, allocations: 8.438 kB / 0.6126 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2126, allocations: 12 kB / 0.6126 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.852e-05/0.2127, allocations: 16.86 kB / 0.6126 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.213, allocations: 67.91 kB / 0.6127 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.2142, allocations: 1.299 MB / 0.6139 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.2143, allocations: 15.98 kB / 0.6139 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.2144, allocations: 12 kB / 0.614 GB, free: 256 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.2146, allocations: 149.7 kB / 0.6141 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.2146, allocations: 31.86 kB / 0.6141 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.2147, allocations: 30.17 kB / 0.6142 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2147, allocations: 0 / 0.6142 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2147, allocations: 0 / 0.6142 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004948/0.2152, allocations: 458.5 kB / 0.6146 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.2161, allocations: 0.5726 MB / 0.6152 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.2161, allocations: 4 kB / 0.6152 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2163, allocations: 39.97 kB / 0.6152 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2163, allocations: 0 / 0.6152 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2163, allocations: 4 kB / 0.6152 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2163, allocations: 3.938 kB / 0.6152 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2164, allocations: 4 kB / 0.6152 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.2168, allocations: 388.3 kB / 0.6156 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.2169, allocations: 100.8 kB / 0.6157 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.217, allocations: 11.98 kB / 0.6157 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2172, allocations: 8 kB / 0.6157 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.2172, allocations: 15.92 kB / 0.6157 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2172, allocations: 11.98 kB / 0.6157 GB, free: 14.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.2174, allocations: 202 kB / 0.6159 GB, free: 14.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2174, allocations: 0 / 0.6159 GB, free: 14.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.2178, allocations: 68 kB / 0.616 GB, free: 13.94 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * 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 (16): * Single equations (assignments): 16 * 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.0001279/0.2179, allocations: 107.1 kB / 0.6161 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004257/0.2183, allocations: 271.1 kB / 0.6163 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2184, allocations: 4.125 kB / 0.6163 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.2184, allocations: 55.86 kB / 0.6164 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.2193, allocations: 150.4 kB / 0.6165 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2203, allocations: 0.6904 MB / 0.6172 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.2207, allocations: 0.764 MB / 0.618 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000203/0.2209, allocations: 50.94 kB / 0.618 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.221, allocations: 27.44 kB / 0.618 GB, free: 11.75 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.221, allocations: 0 / 0.618 GB, free: 11.75 MB / 478.1 MB Notification: Performance of Templates: time 0.008429/0.2294, allocations: 4.314 MB / 0.6222 GB, free: 7.496 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe 2>&1) Environment - environmentSimulation: