Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.4 MB / 139.9 MB, free: 15.41 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.00111/0.00111, allocations: 173.2 kB / 171.8 MB, free: 2.031 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.536/1.536, allocations: 170.6 MB / 374.2 MB, free: 15.68 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.001633/0.001633, allocations: 108.3 kB / 444.8 MB, free: 9.195 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.499/0.499, allocations: 73.39 MB / 0.6666 GB, free: 46.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7704/1.269, allocations: 308.9 MB / 0.9682 GB, free: 96.38 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/1.27, allocations: 79.23 kB / 0.9683 GB, free: 96.33 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.1251/1.395, allocations: 65.13 MB / 1.032 GB, free: 40.33 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.284e-06/1.395, allocations: 0 / 1.032 GB, free: 40.33 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.791e-05/1.395, allocations: 8 kB / 1.032 GB, free: 40.32 MB / 0.573 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.001254/1.396, allocations: 0.5812 MB / 1.032 GB, free: 39.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.397, allocations: 11.97 kB / 1.033 GB, free: 39.69 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/1.397, allocations: 82.31 kB / 1.033 GB, free: 39.61 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/1.398, allocations: 274.5 kB / 1.033 GB, free: 39.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/1.398, allocations: 8 kB / 1.033 GB, free: 39.29 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/1.398, allocations: 12 kB / 1.033 GB, free: 39.28 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003534/1.398, allocations: 176.7 kB / 1.033 GB, free: 39.11 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/1.399, allocations: 285.2 kB / 1.033 GB, free: 38.8 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.399, allocations: 4 kB / 1.033 GB, free: 38.8 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/1.399, allocations: 0 / 1.033 GB, free: 38.8 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.399, allocations: 8 kB / 1.033 GB, free: 38.79 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/1.4, allocations: 1.632 MB / 1.035 GB, free: 37.04 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/1.401, allocations: 167 kB / 1.035 GB, free: 36.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/1.401, allocations: 73.23 kB / 1.035 GB, free: 36.79 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/1.401, allocations: 4.188 kB / 1.035 GB, free: 36.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.401, allocations: 38.7 kB / 1.035 GB, free: 36.74 MB / 0.573 GB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/1.401, allocations: 0 / 1.035 GB, free: 36.74 MB / 0.573 GB Notification: Performance of matching and sorting (n=27): time 0.002283/1.403, allocations: 0.8414 MB / 1.036 GB, free: 35.84 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/1.403, allocations: 59.34 kB / 1.036 GB, free: 35.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/1.403, allocations: 203 kB / 1.036 GB, free: 35.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/1.403, allocations: 29.7 kB / 1.036 GB, free: 35.53 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.404, allocations: 179.8 kB / 1.036 GB, free: 35.35 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/1.404, allocations: 90.66 kB / 1.037 GB, free: 35.26 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/1.404, allocations: 0 / 1.037 GB, free: 35.26 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.515e-05/1.404, allocations: 334.8 kB / 1.037 GB, free: 34.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/1.404, allocations: 76 kB / 1.037 GB, free: 34.85 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/1.404, allocations: 162.8 kB / 1.037 GB, free: 34.66 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/1.404, allocations: 112.9 kB / 1.037 GB, free: 34.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.404, allocations: 0 / 1.037 GB, free: 34.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007529/1.405, allocations: 387.4 kB / 1.038 GB, free: 34.16 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.405, allocations: 9.719 kB / 1.038 GB, free: 34.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.405, allocations: 0 / 1.038 GB, free: 34.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/1.405, allocations: 129 kB / 1.038 GB, free: 34.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/1.406, allocations: 62.59 kB / 1.038 GB, free: 33.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/1.408, allocations: 1.935 MB / 1.04 GB, free: 31.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/1.408, allocations: 20.02 kB / 1.04 GB, free: 31.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/1.408, allocations: 19.95 kB / 1.04 GB, free: 31.88 MB / 0.573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001663/1.409, allocations: 117.4 kB / 1.04 GB, free: 31.76 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/1.409, allocations: 23.72 kB / 1.04 GB, free: 31.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/1.409, allocations: 31.17 kB / 1.04 GB, free: 31.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.409, allocations: 4 kB / 1.04 GB, free: 31.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/1.409, allocations: 0 / 1.04 GB, free: 31.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006442/1.409, allocations: 0.5955 MB / 1.04 GB, free: 31.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/1.41, allocations: 0.7224 MB / 1.041 GB, free: 30.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.41, allocations: 0 / 1.041 GB, free: 30.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/1.411, allocations: 47.03 kB / 1.041 GB, free: 30.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/1.411, allocations: 124.9 kB / 1.041 GB, free: 30.07 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.411, allocations: 0 / 1.041 GB, free: 30.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.413, allocations: 1.841 MB / 1.043 GB, free: 28.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.413, allocations: 4.031 kB / 1.043 GB, free: 28.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/1.414, allocations: 0.562 MB / 1.044 GB, free: 27.49 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/1.414, allocations: 96.91 kB / 1.044 GB, free: 27.38 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/1.414, allocations: 3.984 kB / 1.044 GB, free: 27.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/1.414, allocations: 15.89 kB / 1.044 GB, free: 27.36 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/1.414, allocations: 24.05 kB / 1.044 GB, free: 27.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/1.414, allocations: 19.94 kB / 1.044 GB, free: 27.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001435/1.415, allocations: 157.6 kB / 1.044 GB, free: 27.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.415, allocations: 0 / 1.044 GB, free: 27.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006285/1.415, allocations: 104 kB / 1.044 GB, free: 27.06 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 18 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/1.416, allocations: 170.8 kB / 1.044 GB, free: 26.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008196/1.416, allocations: 381.8 kB / 1.045 GB, free: 26.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.416, allocations: 8.062 kB / 1.045 GB, free: 26.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/1.417, allocations: 257.5 kB / 1.045 GB, free: 26.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/1.418, allocations: 123.8 kB / 1.045 GB, free: 26.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/1.418, allocations: 448.7 kB / 1.045 GB, free: 25.64 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/1.419, allocations: 0.7717 MB / 1.046 GB, free: 24.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002932/1.419, allocations: 47.28 kB / 1.046 GB, free: 24.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/1.419, allocations: 27.38 kB / 1.046 GB, free: 24.77 MB / 0.573 GB Notification: Performance of SimCode: time 2.81e-07/1.419, allocations: 0 / 1.046 GB, free: 24.77 MB / 0.573 GB Notification: Performance of Templates: time 0.01/1.429, allocations: 5.909 MB / 1.052 GB, free: 18.9 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)