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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7574/0.7575, allocations: 132.4 MB / 139.9 MB, free: 15.36 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00168/0.00168, allocations: 174 kB / 171.8 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.525/1.525, allocations: 170.6 MB / 374.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001699/0.001699, allocations: 109.4 kB / 444.8 MB, free: 9.309 MB / 346.7 MB [/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.5059/0.5059, allocations: 73.39 MB / 0.6666 GB, free: 46.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8294/1.335, allocations: 320.6 MB / 0.9797 GB, free: 85 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.336, allocations: 71.25 kB / 0.9798 GB, free: 84.96 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.1791/1.515, allocations: 98.5 MB / 1.076 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.863e-06/1.515, allocations: 4 kB / 1.076 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.575e-05/1.515, allocations: 4 kB / 1.076 GB, free: 10.43 MB / 0.5886 GB 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.0007144/1.516, allocations: 0.5041 MB / 1.076 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.516, allocations: 8.031 kB / 1.076 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/1.516, allocations: 42.36 kB / 1.076 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/1.516, allocations: 262.5 kB / 1.077 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/1.516, allocations: 8 kB / 1.077 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/1.516, allocations: 16 kB / 1.077 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002683/1.517, allocations: 133.1 kB / 1.077 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/1.517, allocations: 270.4 kB / 1.077 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.517, allocations: 4 kB / 1.077 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.517, allocations: 4 kB / 1.077 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/1.517, allocations: 8 kB / 1.077 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/1.519, allocations: 1.786 MB / 1.079 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/1.519, allocations: 98.59 kB / 1.079 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/1.519, allocations: 50.12 kB / 1.079 GB, free: 7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/1.519, allocations: 3.953 kB / 1.079 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.519, allocations: 38.56 kB / 1.079 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/1.519, allocations: 0 / 1.079 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001028/1.52, allocations: 490.9 kB / 1.08 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/1.52, allocations: 59.41 kB / 1.08 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/1.52, allocations: 204.4 kB / 1.08 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/1.52, allocations: 25.7 kB / 1.08 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/1.521, allocations: 211.4 kB / 1.08 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/1.521, allocations: 47.27 kB / 1.08 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/1.521, allocations: 3.938 kB / 1.08 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.521, allocations: 336.2 kB / 1.08 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.261e-05/1.521, allocations: 48 kB / 1.08 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/1.521, allocations: 148.9 kB / 1.081 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/1.521, allocations: 76.84 kB / 1.081 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.521, allocations: 3.953 kB / 1.081 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003877/1.522, allocations: 244.8 kB / 1.081 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.522, allocations: 8 kB / 1.081 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.522, allocations: 4 kB / 1.081 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/1.522, allocations: 25.3 kB / 1.081 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/1.522, allocations: 67.91 kB / 1.081 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/1.523, allocations: 1.237 MB / 1.082 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.523, allocations: 19.91 kB / 1.082 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/1.523, allocations: 16 kB / 1.082 GB, free: 3.453 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 () * 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.0001714/1.523, allocations: 119.6 kB / 1.082 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/1.524, allocations: 15.81 kB / 1.082 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/1.524, allocations: 33.91 kB / 1.082 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.524, allocations: 3.984 kB / 1.082 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/1.524, allocations: 3.938 kB / 1.082 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003415/1.524, allocations: 444.4 kB / 1.083 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/1.525, allocations: 0.5187 MB / 1.083 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.525, allocations: 4 kB / 1.083 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/1.525, allocations: 31.98 kB / 1.083 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.525, allocations: 0 / 1.083 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.525, allocations: 4 kB / 1.083 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.525, allocations: 7.938 kB / 1.083 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.525, allocations: 0.5469 kB / 1.083 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/1.525, allocations: 369.5 kB / 1.084 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/1.525, allocations: 100.9 kB / 1.084 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/1.525, allocations: 7.922 kB / 1.084 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/1.526, allocations: 11.94 kB / 1.084 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/1.526, allocations: 15.98 kB / 1.084 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/1.526, allocations: 11.94 kB / 1.084 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001454/1.526, allocations: 160.5 kB / 1.084 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.526, allocations: 4 kB / 1.084 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004408/1.526, allocations: 76 kB / 1.084 GB, free: 1.309 MB / 0.5886 GB 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 () * 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.0003238/1.527, allocations: 211.2 kB / 1.084 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003985/1.527, allocations: 237.6 kB / 1.085 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.527, allocations: 0 / 1.085 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/1.527, allocations: 51.88 kB / 1.085 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/1.528, allocations: 97.52 kB / 1.085 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/1.529, allocations: 371.3 kB / 1.085 GB, free: 316 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/1.529, allocations: 0.7638 MB / 1.086 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002034/1.529, allocations: 51.25 kB / 1.086 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/1.529, allocations: 19.44 kB / 1.086 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/1.529, allocations: 0 / 1.086 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.008553/1.538, allocations: 4.231 MB / 1.09 GB, free: 11.25 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.makefile (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)