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/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.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") [/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.2071/0.2079, allocations: 82.22 MB / 0.5935 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.0144/0.2224, allocations: 13.88 MB / 0.607 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.2251, allocations: 2.004 MB / 0.609 GB, free: 6.059 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.2253, allocations: 11.94 kB / 0.609 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.2259, allocations: 127.2 kB / 0.6091 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006836/0.2266, allocations: 306.5 kB / 0.6094 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2276, allocations: 245.7 kB / 0.6096 GB, free: 5.387 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.2291, allocations: 1.039 MB / 0.6107 GB, free: 4.344 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.2294, allocations: 76.62 kB / 0.6107 GB, free: 4.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.2308, allocations: 418.2 kB / 0.6111 GB, free: 3.859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.2313, allocations: 258.9 kB / 0.6114 GB, free: 3.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.2313, allocations: 16 kB / 0.6114 GB, free: 3.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.2318, allocations: 111.8 kB / 0.6115 GB, free: 3.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.2319, allocations: 67.73 kB / 0.6116 GB, free: 3.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.232, allocations: 85.58 kB / 0.6116 GB, free: 3.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.2326, allocations: 351.3 kB / 0.612 GB, free: 2.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.2326, allocations: 0 / 0.612 GB, free: 2.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2326, allocations: 0 / 0.612 GB, free: 2.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2326, allocations: 4 kB / 0.612 GB, free: 2.977 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.001003/0.2336, allocations: 0.5183 MB / 0.6125 GB, free: 2.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.2337, allocations: 8.031 kB / 0.6125 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.2344, allocations: 71.66 kB / 0.6126 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.2348, allocations: 275 kB / 0.6128 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2349, allocations: 20.56 kB / 0.6128 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.2349, allocations: 24 kB / 0.6129 GB, free: 1.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.2356, allocations: 342.2 kB / 0.6132 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2356, allocations: 0 / 0.6132 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.2357, allocations: 12 kB / 0.6132 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.2357, allocations: 8 kB / 0.6132 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.2362, allocations: 229.4 kB / 0.6134 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.2382, allocations: 1.679 MB / 0.6151 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.2386, allocations: 195 kB / 0.6153 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2387, allocations: 93.14 kB / 0.6153 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.2388, allocations: 8.172 kB / 0.6153 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2388, allocations: 38.7 kB / 0.6154 GB, free: 15.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.2388, allocations: 0 / 0.6154 GB, free: 15.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=27): time 0.003679/0.2425, allocations: 1.253 MB / 0.6166 GB, free: 13.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2426, allocations: 55.41 kB / 0.6167 GB, free: 13.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.2429, allocations: 270.6 kB / 0.6169 GB, free: 13.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.243, allocations: 25.7 kB / 0.6169 GB, free: 13.49 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2431, allocations: 188.3 kB / 0.6171 GB, free: 13.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.2432, allocations: 90.66 kB / 0.6172 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2432, allocations: 8 kB / 0.6172 GB, free: 13.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2433, allocations: 334.8 kB / 0.6175 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.2436, allocations: 99.94 kB / 0.6176 GB, free: 12.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.2439, allocations: 181.9 kB / 0.6178 GB, free: 12.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.2442, allocations: 135.9 kB / 0.6179 GB, free: 12.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2442, allocations: 0 / 0.6179 GB, free: 12.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009961/0.2452, allocations: 441.7 kB / 0.6184 GB, free: 11.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.2452, allocations: 8 kB / 0.6184 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2452, allocations: 320 / 0.6184 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/0.2457, allocations: 132.8 kB / 0.6185 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2461, allocations: 71.89 kB / 0.6186 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.249, allocations: 2.038 MB / 0.6206 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.2494, allocations: 31.83 kB / 0.6206 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2494, allocations: 12 kB / 0.6206 GB, free: 9.555 MB / 478.1 MB 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 () * Number of clocked 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.2496, allocations: 154.7 kB / 0.6207 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.2497, allocations: 27.72 kB / 0.6208 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.052e-05/0.2498, allocations: 34.86 kB / 0.6208 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2498, allocations: 3.953 kB / 0.6208 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2498, allocations: 0 / 0.6208 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009139/0.2507, allocations: 0.6331 MB / 0.6214 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.2521, allocations: 0.8217 MB / 0.6222 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2521, allocations: 0 / 0.6222 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.2523, allocations: 43.94 kB / 0.6223 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005693/0.2529, allocations: 136.8 kB / 0.6224 GB, free: 7.539 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2529, allocations: 8 kB / 0.6224 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.2557, allocations: 1.952 MB / 0.6243 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2557, allocations: 8.188 kB / 0.6243 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2568, allocations: 0.5538 MB / 0.6249 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.2569, allocations: 104.8 kB / 0.625 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.2569, allocations: 8 kB / 0.625 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.2572, allocations: 23.98 kB / 0.625 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.2573, allocations: 23.97 kB / 0.625 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.2573, allocations: 15.98 kB / 0.625 GB, free: 4.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.2576, allocations: 190 kB / 0.6252 GB, free: 4.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2576, allocations: 0 / 0.6252 GB, free: 4.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005612/0.2582, allocations: 104 kB / 0.6253 GB, free: 4.379 MB / 478.1 MB 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 () * Number of clocked 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.0002037/0.2584, allocations: 128.1 kB / 0.6254 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008787/0.2593, allocations: 414.7 kB / 0.6258 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2593, allocations: 0 / 0.6258 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.2599, allocations: 303.2 kB / 0.6261 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.2608, allocations: 160.7 kB / 0.6263 GB, free: 3.371 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.2622, allocations: 0.7831 MB / 0.627 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.2626, allocations: 0.7687 MB / 0.6278 GB, free: 1.758 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.2629, allocations: 54.95 kB / 0.6278 GB, free: 1.703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.263, allocations: 23.44 kB / 0.6279 GB, free: 1.68 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.263, allocations: 0 / 0.6279 GB, free: 1.68 MB / 478.1 MB Notification: Performance of Templates: time 0.01238/0.2754, allocations: 6.527 MB / 0.6342 GB, free: 11.25 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: