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.2155/0.2176, allocations: 80.83 MB / 0.6707 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01702/0.2347, allocations: 15.14 MB / 0.6855 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2376, allocations: 2.116 MB / 0.6875 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.2379, allocations: 7.938 kB / 0.6875 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006379/0.2385, allocations: 190.9 kB / 0.6877 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.2392, allocations: 318.2 kB / 0.688 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.24, allocations: 314.5 kB / 0.6883 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008359/0.2408, allocations: 0.8095 MB / 0.6891 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.2411, allocations: 92.7 kB / 0.6892 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009686/0.242, allocations: 0.4941 MB / 0.6897 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.2424, allocations: 263 kB / 0.6899 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.2425, allocations: 24 kB / 0.69 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.2428, allocations: 131.8 kB / 0.6901 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.243, allocations: 83.73 kB / 0.6902 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.2432, allocations: 171.3 kB / 0.6903 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.2438, allocations: 470.3 kB / 0.6908 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2438, allocations: 0 / 0.6908 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2438, allocations: 0 / 0.6908 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2438, allocations: 4 kB / 0.6908 GB, free: 13.32 MB / 0.5294 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.0008904/0.2447, allocations: 0.5883 MB / 0.6913 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.2448, allocations: 8.031 kB / 0.6914 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006751/0.2455, allocations: 76.69 kB / 0.6914 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.246, allocations: 283.9 kB / 0.6917 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.246, allocations: 24.92 kB / 0.6917 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.2461, allocations: 24.38 kB / 0.6917 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.2467, allocations: 346.3 kB / 0.6921 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2467, allocations: 0 / 0.6921 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.2467, allocations: 12 kB / 0.6921 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2467, allocations: 8 kB / 0.6921 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.2473, allocations: 217.5 kB / 0.6923 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.2491, allocations: 1.691 MB / 0.694 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.2496, allocations: 195.5 kB / 0.6941 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.2498, allocations: 88.77 kB / 0.6942 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.2498, allocations: 7.969 kB / 0.6942 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2499, allocations: 38.56 kB / 0.6943 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 1.462e-06/0.2499, allocations: 0 / 0.6943 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=27): time 0.003649/0.2535, allocations: 1.254 MB / 0.6955 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.2536, allocations: 59.41 kB / 0.6956 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.2539, allocations: 266.6 kB / 0.6958 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.254, allocations: 33.7 kB / 0.6958 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2541, allocations: 180.5 kB / 0.696 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.2542, allocations: 103.2 kB / 0.6961 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2543, allocations: 69.48 kB / 0.6962 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2545, allocations: 338.7 kB / 0.6965 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.2547, allocations: 107.9 kB / 0.6966 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.2551, allocations: 185.1 kB / 0.6968 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.2556, allocations: 293.3 kB / 0.6971 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2556, allocations: 0 / 0.6971 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001107/0.2567, allocations: 457.8 kB / 0.6975 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2568, allocations: 8 kB / 0.6975 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2568, allocations: 320 / 0.6975 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.2573, allocations: 132.7 kB / 0.6976 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.2577, allocations: 67.91 kB / 0.6977 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/0.2607, allocations: 2.24 MB / 0.6999 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.2611, allocations: 19.98 kB / 0.6999 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2611, allocations: 16 kB / 0.6999 GB, free: 3.324 MB / 0.5294 GB 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.0002216/0.2613, allocations: 157.6 kB / 0.7001 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.2614, allocations: 31.88 kB / 0.7001 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.2615, allocations: 34.88 kB / 0.7001 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2615, allocations: 0 / 0.7001 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2615, allocations: 4 kB / 0.7001 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.2625, allocations: 0.6292 MB / 0.7007 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.264, allocations: 0.8183 MB / 0.7015 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.264, allocations: 0 / 0.7015 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.2642, allocations: 43.91 kB / 0.7016 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006371/0.2648, allocations: 132.8 kB / 0.7017 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2649, allocations: 11.98 kB / 0.7017 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.2678, allocations: 2.15 MB / 0.7038 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.2678, allocations: 12.27 kB / 0.7038 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.269, allocations: 0.5506 MB / 0.7044 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.2691, allocations: 104.9 kB / 0.7045 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.2691, allocations: 15.94 kB / 0.7045 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.2694, allocations: 12.05 kB / 0.7045 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.2695, allocations: 27.97 kB / 0.7045 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.2695, allocations: 19.98 kB / 0.7045 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002652/0.2698, allocations: 194 kB / 0.7047 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2698, allocations: 0 / 0.7047 GB, free: 14.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005507/0.2704, allocations: 96 kB / 0.7048 GB, free: 13.94 MB / 0.545 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 () * 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.0002073/0.2706, allocations: 129.2 kB / 0.7049 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009061/0.2715, allocations: 419 kB / 0.7053 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2715, allocations: 0 / 0.7053 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006528/0.2722, allocations: 302.6 kB / 0.7056 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.2731, allocations: 162.8 kB / 0.7058 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.2744, allocations: 0.6825 MB / 0.7065 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.2748, allocations: 0.7606 MB / 0.7072 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.2751, allocations: 58.88 kB / 0.7073 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.2752, allocations: 23.44 kB / 0.7073 GB, free: 11.33 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2752, allocations: 0 / 0.7073 GB, free: 11.33 MB / 0.545 GB Notification: Performance of Templates: time 0.01305/0.2882, allocations: 7.188 MB / 0.7143 GB, free: 4.223 MB / 0.545 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)