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.4677/0.4702, allocations: 80.81 MB / 0.5904 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01353/0.4838, allocations: 15.14 MB / 0.6052 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.4863, allocations: 2.128 MB / 0.6073 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.4865, allocations: 11.94 kB / 0.6073 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005785/0.4871, allocations: 175 kB / 0.6074 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.4876, allocations: 322.2 kB / 0.6077 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.4882, allocations: 310.5 kB / 0.608 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006867/0.4889, allocations: 0.8056 MB / 0.6088 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.4892, allocations: 96.53 kB / 0.6089 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/0.49, allocations: 0.4941 MB / 0.6094 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.4903, allocations: 263 kB / 0.6097 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.4903, allocations: 24 kB / 0.6097 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.4906, allocations: 127.9 kB / 0.6098 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.4907, allocations: 91.72 kB / 0.6099 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.4909, allocations: 171.3 kB / 0.6101 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.4913, allocations: 473.1 kB / 0.6105 GB, free: 2.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4913, allocations: 0 / 0.6105 GB, free: 2.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4914, allocations: 0 / 0.6105 GB, free: 2.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.4914, allocations: 0 / 0.6105 GB, free: 2.16 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.0007214/0.4921, allocations: 0.573 MB / 0.6111 GB, free: 1.539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4921, allocations: 11.98 kB / 0.6111 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006206/0.4928, allocations: 72.59 kB / 0.6111 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4931, allocations: 287.7 kB / 0.6114 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4931, allocations: 16.94 kB / 0.6114 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.4931, allocations: 24.38 kB / 0.6115 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.4936, allocations: 346.3 kB / 0.6118 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4936, allocations: 3.938 kB / 0.6118 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.4937, allocations: 12 kB / 0.6118 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4937, allocations: 8 kB / 0.6118 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.4942, allocations: 225.5 kB / 0.612 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.496, allocations: 1.694 MB / 0.6137 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.4964, allocations: 198.5 kB / 0.6139 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.4966, allocations: 97.31 kB / 0.614 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.4966, allocations: 7.938 kB / 0.614 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.4966, allocations: 34.56 kB / 0.614 GB, free: 14.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.4966, allocations: 0 / 0.614 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.003737/0.5004, allocations: 1.253 MB / 0.6152 GB, free: 12.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.5004, allocations: 59.41 kB / 0.6153 GB, free: 12.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.5008, allocations: 274.5 kB / 0.6155 GB, free: 12.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.5008, allocations: 29.7 kB / 0.6156 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5009, allocations: 180.2 kB / 0.6157 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.501, allocations: 98.64 kB / 0.6158 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.5011, allocations: 61.69 kB / 0.6159 GB, free: 12.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5013, allocations: 338.8 kB / 0.6162 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.5016, allocations: 111.7 kB / 0.6163 GB, free: 11.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.5019, allocations: 181.1 kB / 0.6165 GB, free: 11.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.5024, allocations: 293.3 kB / 0.6168 GB, free: 11.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5024, allocations: 0 / 0.6168 GB, free: 11.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001105/0.5035, allocations: 453.6 kB / 0.6172 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5036, allocations: 11.98 kB / 0.6172 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5036, allocations: 4 kB / 0.6172 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.5041, allocations: 129.1 kB / 0.6174 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.5044, allocations: 63.89 kB / 0.6174 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.5076, allocations: 2.232 MB / 0.6196 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.508, allocations: 20.05 kB / 0.6196 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.508, allocations: 19.98 kB / 0.6196 GB, free: 8.176 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.5082, allocations: 149.7 kB / 0.6198 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.5083, allocations: 31.62 kB / 0.6198 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.5084, allocations: 34.84 kB / 0.6198 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5084, allocations: 8 kB / 0.6198 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.5084, allocations: 0 / 0.6198 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000992/0.5094, allocations: 0.6333 MB / 0.6205 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.5109, allocations: 0.8188 MB / 0.6213 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5109, allocations: 4.125 kB / 0.6213 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.5111, allocations: 39.98 kB / 0.6213 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006479/0.5118, allocations: 136.6 kB / 0.6214 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.5118, allocations: 8 kB / 0.6214 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.5149, allocations: 2.158 MB / 0.6236 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.515, allocations: 7.969 kB / 0.6236 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.5161, allocations: 0.5498 MB / 0.6241 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.5162, allocations: 104.8 kB / 0.6242 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.5163, allocations: 8 kB / 0.6242 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.5166, allocations: 20.05 kB / 0.6242 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.5166, allocations: 23.86 kB / 0.6242 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.5167, allocations: 15.98 kB / 0.6243 GB, free: 3.074 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.5169, allocations: 194 kB / 0.6244 GB, free: 2.891 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5169, allocations: 0 / 0.6244 GB, free: 2.891 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005558/0.5175, allocations: 99.98 kB / 0.6245 GB, free: 2.793 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001788/0.5177, allocations: 121.1 kB / 0.6247 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009598/0.5186, allocations: 418.4 kB / 0.6251 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5187, allocations: 0 / 0.6251 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.5193, allocations: 303.1 kB / 0.6253 GB, free: 1.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009525/0.5203, allocations: 165.8 kB / 0.6255 GB, free: 1.785 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.5217, allocations: 0.6751 MB / 0.6262 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.5221, allocations: 0.7606 MB / 0.6269 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003246/0.5224, allocations: 54.95 kB / 0.627 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.5225, allocations: 31.42 kB / 0.627 GB, free: 204 kB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5225, allocations: 4 kB / 0.627 GB, free: 200 kB / 462.1 MB Notification: Performance of Templates: time 0.01446/0.537, allocations: 7.103 MB / 0.6339 GB, free: 9.199 MB / 478.1 MB 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)