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.5736/0.5744, allocations: 82.21 MB / 0.5935 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTestImplementation): time 0.008869/0.5833, allocations: 12.03 MB / 0.6052 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.585, allocations: 1.509 MB / 0.6067 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.5852, allocations: 7.938 kB / 0.6067 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.5857, allocations: 127.2 kB / 0.6068 GB, free: 7.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000473/0.5861, allocations: 294.5 kB / 0.6071 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.5866, allocations: 149 kB / 0.6072 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006364/0.5872, allocations: 0.9304 MB / 0.6081 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.5874, allocations: 72.62 kB / 0.6082 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.5879, allocations: 310.7 kB / 0.6085 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.5882, allocations: 227.1 kB / 0.6087 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.5882, allocations: 12 kB / 0.6087 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.5883, allocations: 16 kB / 0.6087 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.5884, allocations: 63.73 kB / 0.6088 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.5885, allocations: 85.58 kB / 0.6089 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.5887, allocations: 273.8 kB / 0.6092 GB, free: 5.441 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5887, allocations: 4 kB / 0.6092 GB, free: 5.438 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5887, allocations: 0 / 0.6092 GB, free: 5.438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.5887, allocations: 0 / 0.6092 GB, free: 5.438 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006657/0.5894, allocations: 0.4912 MB / 0.6096 GB, free: 4.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5894, allocations: 12.03 kB / 0.6096 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.5897, allocations: 47.61 kB / 0.6097 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.59, allocations: 270.4 kB / 0.61 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.59, allocations: 20.56 kB / 0.61 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.5901, allocations: 24 kB / 0.61 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.5904, allocations: 300 kB / 0.6103 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.5904, allocations: 3.938 kB / 0.6103 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.5905, allocations: 15.95 kB / 0.6103 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.5905, allocations: 15.98 kB / 0.6103 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.5907, allocations: 165.5 kB / 0.6105 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.592, allocations: 1.837 MB / 0.6123 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.5922, allocations: 108.5 kB / 0.6124 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.5922, allocations: 48.94 kB / 0.6124 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.5923, allocations: 11.94 kB / 0.6124 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5923, allocations: 34.56 kB / 0.6125 GB, free: 1.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.5923, allocations: 4 kB / 0.6125 GB, free: 1.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001049/0.5934, allocations: 0.6385 MB / 0.6131 GB, free: 1.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.5934, allocations: 55.41 kB / 0.6131 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.5936, allocations: 274.5 kB / 0.6134 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.5937, allocations: 37.7 kB / 0.6134 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.5938, allocations: 199.5 kB / 0.6136 GB, free: 468 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.5938, allocations: 51.2 kB / 0.6137 GB, free: 416 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.5938, allocations: 8 kB / 0.6137 GB, free: 408 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.5939, allocations: 330.8 kB / 0.614 GB, free: 68 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.594, allocations: 55.97 kB / 0.6141 GB, free: 12 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.5942, allocations: 165 kB / 0.6142 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.5943, allocations: 80.88 kB / 0.6143 GB, free: 15.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5943, allocations: 0 / 0.6143 GB, free: 15.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004117/0.5947, allocations: 292 kB / 0.6146 GB, free: 15.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5948, allocations: 6.344 kB / 0.6146 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5948, allocations: 4 kB / 0.6146 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.5949, allocations: 24.8 kB / 0.6146 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.5952, allocations: 75.83 kB / 0.6147 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.5964, allocations: 1.288 MB / 0.6159 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.5966, allocations: 24.05 kB / 0.616 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5966, allocations: 16 kB / 0.616 GB, free: 13.86 MB / 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.0001632/0.5968, allocations: 149.7 kB / 0.6161 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.5968, allocations: 27.67 kB / 0.6161 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.5969, allocations: 26.17 kB / 0.6162 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5969, allocations: 0 / 0.6162 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5969, allocations: 0 / 0.6162 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004283/0.5973, allocations: 463.7 kB / 0.6166 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.5982, allocations: 0.5688 MB / 0.6172 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5982, allocations: 4 kB / 0.6172 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.5983, allocations: 35.92 kB / 0.6172 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5984, allocations: 0 / 0.6172 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.5984, allocations: 12.16 kB / 0.6172 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5984, allocations: 0 / 0.6172 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5984, allocations: 4 kB / 0.6172 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.5988, allocations: 332.4 kB / 0.6175 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.5989, allocations: 100.9 kB / 0.6176 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.5989, allocations: 4 kB / 0.6176 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.5991, allocations: 19.89 kB / 0.6176 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.5991, allocations: 11.94 kB / 0.6177 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.5992, allocations: 12 kB / 0.6177 GB, free: 11.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.5994, allocations: 202 kB / 0.6179 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5994, allocations: 0 / 0.6179 GB, free: 11.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.5997, allocations: 68 kB / 0.6179 GB, free: 11.64 MB / 462.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.0001066/0.5998, allocations: 103.2 kB / 0.618 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.6003, allocations: 267.2 kB / 0.6183 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6003, allocations: 0 / 0.6183 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.6004, allocations: 51.92 kB / 0.6183 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.6013, allocations: 149.3 kB / 0.6185 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.6025, allocations: 0.7124 MB / 0.6192 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6028, allocations: 0.7601 MB / 0.6199 GB, free: 9.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.603, allocations: 42.97 kB / 0.62 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.6031, allocations: 27.42 kB / 0.62 GB, free: 9.457 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6031, allocations: 0 / 0.62 GB, free: 9.457 MB / 462.1 MB Notification: Performance of Templates: time 0.009042/0.6121, allocations: 4.314 MB / 0.6242 GB, free: 5.199 MB / 462.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: