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.2023/0.2056, allocations: 80.84 MB / 0.6707 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01609/0.2218, allocations: 15.13 MB / 0.6854 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.2248, allocations: 2.12 MB / 0.6875 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.2251, allocations: 4 kB / 0.6875 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.2257, allocations: 186.9 kB / 0.6877 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.2264, allocations: 326.2 kB / 0.688 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.2272, allocations: 316.9 kB / 0.6883 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.2279, allocations: 0.8095 MB / 0.6891 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.2281, allocations: 88.69 kB / 0.6892 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.2289, allocations: 0.5019 MB / 0.6897 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.2293, allocations: 255 kB / 0.6899 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.2293, allocations: 28 kB / 0.6899 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.2296, allocations: 131.8 kB / 0.6901 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2297, allocations: 79.8 kB / 0.6902 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.2299, allocations: 175.3 kB / 0.6903 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.2304, allocations: 466.5 kB / 0.6908 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2305, allocations: 7.938 kB / 0.6908 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2305, allocations: 0 / 0.6908 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2305, allocations: 0 / 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.0008934/0.2314, allocations: 0.5692 MB / 0.6913 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.2314, allocations: 15.97 kB / 0.6913 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006473/0.2321, allocations: 76.5 kB / 0.6914 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.2325, allocations: 279.8 kB / 0.6917 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2326, allocations: 24.92 kB / 0.6917 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.2326, allocations: 24.38 kB / 0.6917 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.2332, allocations: 342.3 kB / 0.6921 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2332, allocations: 7.938 kB / 0.6921 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2333, allocations: 12 kB / 0.6921 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2333, allocations: 4 kB / 0.6921 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.2338, allocations: 225.5 kB / 0.6923 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.2356, allocations: 1.686 MB / 0.6939 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.2359, allocations: 194.8 kB / 0.6941 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.2361, allocations: 84.77 kB / 0.6942 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.2361, allocations: 15.97 kB / 0.6942 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2362, allocations: 30.56 kB / 0.6943 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.2362, allocations: 4 kB / 0.6943 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=27): time 0.003768/0.2399, allocations: 1.254 MB / 0.6955 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.24, allocations: 51.41 kB / 0.6955 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.2403, allocations: 278.5 kB / 0.6958 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2404, allocations: 25.7 kB / 0.6958 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2405, allocations: 180.2 kB / 0.696 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.2406, allocations: 98.64 kB / 0.6961 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2407, allocations: 65.48 kB / 0.6961 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2408, allocations: 342.7 kB / 0.6965 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.2411, allocations: 99.95 kB / 0.6966 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.2414, allocations: 193 kB / 0.6968 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.2419, allocations: 289.3 kB / 0.697 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.242, allocations: 0 / 0.697 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001077/0.243, allocations: 461.8 kB / 0.6975 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.2431, allocations: 12.03 kB / 0.6975 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2431, allocations: 7.984 kB / 0.6975 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.2436, allocations: 132.7 kB / 0.6976 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.244, allocations: 59.91 kB / 0.6977 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.2469, allocations: 2.236 MB / 0.6999 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.2472, allocations: 15.98 kB / 0.6999 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.2473, allocations: 16 kB / 0.6999 GB, free: 3.344 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.0001555/0.2474, allocations: 157.8 kB / 0.7 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.2475, allocations: 27.62 kB / 0.7001 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.2476, allocations: 34.88 kB / 0.7001 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2476, allocations: 4 kB / 0.7001 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2476, allocations: 0 / 0.7001 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009165/0.2485, allocations: 0.6331 MB / 0.7007 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.2498, allocations: 0.8105 MB / 0.7015 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2499, allocations: 4 kB / 0.7015 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.25, allocations: 39.91 kB / 0.7016 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005933/0.2506, allocations: 133 kB / 0.7017 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.2507, allocations: 15.92 kB / 0.7017 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.2534, allocations: 2.162 MB / 0.7038 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2534, allocations: 3.938 kB / 0.7038 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2545, allocations: 0.5583 MB / 0.7044 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.2545, allocations: 100.9 kB / 0.7045 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.2546, allocations: 8 kB / 0.7045 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.2548, allocations: 7.984 kB / 0.7045 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.2549, allocations: 35.91 kB / 0.7045 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2549, allocations: 12 kB / 0.7045 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002417/0.2552, allocations: 193.9 kB / 0.7047 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2552, allocations: 4 kB / 0.7047 GB, free: 14.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005004/0.2557, allocations: 96 kB / 0.7048 GB, free: 13.96 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.0001708/0.2559, allocations: 115.2 kB / 0.7049 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008483/0.2567, allocations: 422.3 kB / 0.7053 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2568, allocations: 0 / 0.7053 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.2574, allocations: 307.9 kB / 0.7056 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.2583, allocations: 157.3 kB / 0.7057 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2595, allocations: 0.6717 MB / 0.7064 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2598, allocations: 0.7645 MB / 0.7072 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.26, allocations: 50.95 kB / 0.7072 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.2601, allocations: 23.44 kB / 0.7072 GB, free: 11.38 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.2601, allocations: 0 / 0.7072 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Templates: time 0.01228/0.2724, allocations: 7.324 MB / 0.7144 GB, free: 4.133 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)