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.1879/0.1899, allocations: 80.83 MB / 0.6707 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01491/0.2048, allocations: 15.14 MB / 0.6855 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.2077, allocations: 2.112 MB / 0.6875 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2078, allocations: 7.938 kB / 0.6875 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.2085, allocations: 194.9 kB / 0.6877 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.2091, allocations: 330.2 kB / 0.688 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.2099, allocations: 314.2 kB / 0.6883 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008549/0.2108, allocations: 0.8056 MB / 0.6891 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.211, allocations: 96.67 kB / 0.6892 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.212, allocations: 0.498 MB / 0.6897 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.2124, allocations: 255 kB / 0.6899 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.2124, allocations: 28 kB / 0.69 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.2128, allocations: 127.8 kB / 0.6901 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2129, allocations: 87.72 kB / 0.6902 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.2131, allocations: 179.3 kB / 0.6903 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.2137, allocations: 470.5 kB / 0.6908 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2137, allocations: 0 / 0.6908 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2137, allocations: 0 / 0.6908 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.2137, allocations: 0 / 0.6908 GB, free: 13.3 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.0008334/0.2146, allocations: 0.5692 MB / 0.6913 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2146, allocations: 12.03 kB / 0.6914 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.2153, allocations: 76.5 kB / 0.6914 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.2158, allocations: 295.7 kB / 0.6917 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.2158, allocations: 20.88 kB / 0.6917 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.2159, allocations: 24.38 kB / 0.6918 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.2165, allocations: 342.3 kB / 0.6921 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.2165, allocations: 4 kB / 0.6921 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.2166, allocations: 12 kB / 0.6921 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.2166, allocations: 4 kB / 0.6921 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.2171, allocations: 225.5 kB / 0.6923 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.2189, allocations: 1.694 MB / 0.694 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.2193, allocations: 194.5 kB / 0.6942 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.2195, allocations: 80.83 kB / 0.6942 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2195, allocations: 4 kB / 0.6942 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2196, allocations: 42.56 kB / 0.6943 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.2196, allocations: 0 / 0.6943 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=27): time 0.003661/0.2232, allocations: 1.255 MB / 0.6955 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.2233, allocations: 51.41 kB / 0.6956 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.2236, allocations: 282.4 kB / 0.6958 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2236, allocations: 29.7 kB / 0.6958 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2238, allocations: 180.2 kB / 0.696 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.2238, allocations: 94.64 kB / 0.6961 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.224, allocations: 73.47 kB / 0.6962 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2241, allocations: 338.8 kB / 0.6965 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.2243, allocations: 95.95 kB / 0.6966 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.2247, allocations: 197.1 kB / 0.6968 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.2252, allocations: 281.3 kB / 0.6971 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2252, allocations: 0 / 0.6971 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001069/0.2263, allocations: 465.8 kB / 0.6975 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2263, allocations: 8 kB / 0.6975 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2263, allocations: 4 kB / 0.6975 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.2268, allocations: 136.7 kB / 0.6976 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.2271, allocations: 67.89 kB / 0.6977 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.23, allocations: 2.224 MB / 0.6999 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.2303, allocations: 15.98 kB / 0.6999 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2303, allocations: 16 kB / 0.6999 GB, free: 3.32 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.0001524/0.2305, allocations: 161.8 kB / 0.7001 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.2306, allocations: 27.62 kB / 0.7001 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.2306, allocations: 34.86 kB / 0.7001 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2306, allocations: 4 kB / 0.7001 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.2307, allocations: 0 / 0.7001 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009241/0.2316, allocations: 0.6293 MB / 0.7007 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.2329, allocations: 0.8027 MB / 0.7015 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2329, allocations: 4 kB / 0.7015 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.2331, allocations: 43.91 kB / 0.7016 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/0.2337, allocations: 137 kB / 0.7017 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.2337, allocations: 16 kB / 0.7017 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.2365, allocations: 2.166 MB / 0.7038 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2365, allocations: 0 / 0.7038 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.2376, allocations: 0.5583 MB / 0.7044 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.2377, allocations: 104.8 kB / 0.7045 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.2378, allocations: 8 kB / 0.7045 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.2381, allocations: 12.06 kB / 0.7045 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.2381, allocations: 27.91 kB / 0.7045 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.2382, allocations: 15.98 kB / 0.7045 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002491/0.2384, allocations: 194 kB / 0.7047 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2384, allocations: 0 / 0.7047 GB, free: 14.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005391/0.239, allocations: 92 kB / 0.7048 GB, free: 13.95 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.0001777/0.2392, allocations: 127.2 kB / 0.7049 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008536/0.24, allocations: 414.3 kB / 0.7053 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.24, allocations: 0 / 0.7053 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.2407, allocations: 303.3 kB / 0.7056 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008892/0.2416, allocations: 164 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.001187/0.2428, allocations: 0.6716 MB / 0.7064 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2431, allocations: 0.7684 MB / 0.7072 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.2434, allocations: 50.95 kB / 0.7072 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.2435, allocations: 23.44 kB / 0.7072 GB, free: 11.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.2435, allocations: 0 / 0.7072 GB, free: 11.35 MB / 0.545 GB Notification: Performance of Templates: time 0.01231/0.2558, allocations: 7.19 MB / 0.7143 GB, free: 4.238 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)