Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [/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.1865/0.1884, allocations: 80.83 MB / 0.5899 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005972/0.1945, allocations: 4.059 MB / 0.5938 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.197, allocations: 2.407 MB / 0.5962 GB, free: 496 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1972, allocations: 0 / 0.5962 GB, free: 496 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.1976, allocations: 47.73 kB / 0.5962 GB, free: 448 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.198, allocations: 87.48 kB / 0.5963 GB, free: 360 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1999, allocations: 473 kB / 0.5968 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.2004, allocations: 251.9 kB / 0.597 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.2005, allocations: 17.55 kB / 0.597 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.2007, allocations: 115.5 kB / 0.5971 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.2009, allocations: 95.66 kB / 0.5972 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.201, allocations: 8 kB / 0.5972 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009093/0.2019, allocations: 447.2 kB / 0.5977 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.202, allocations: 31.89 kB / 0.5977 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.2021, allocations: 83.66 kB / 0.5978 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.2027, allocations: 403.2 kB / 0.5982 GB, free: 14.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2027, allocations: 0 / 0.5982 GB, free: 14.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2027, allocations: 4 kB / 0.5982 GB, free: 14.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.2027, allocations: 0 / 0.5982 GB, free: 14.46 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000791/0.2035, allocations: 0.507 MB / 0.5987 GB, free: 13.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2036, allocations: 8.031 kB / 0.5987 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.2056, allocations: 188.5 kB / 0.5988 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.2059, allocations: 200.2 kB / 0.599 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.2059, allocations: 12.7 kB / 0.599 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.206, allocations: 12.38 kB / 0.5991 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.2067, allocations: 318 kB / 0.5994 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2067, allocations: 0 / 0.5994 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.2067, allocations: 8 kB / 0.5994 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.2068, allocations: 4 kB / 0.5994 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.2074, allocations: 263.6 kB / 0.5996 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.2092, allocations: 1.388 MB / 0.601 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/0.2099, allocations: 198.4 kB / 0.6012 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.2101, allocations: 82.78 kB / 0.6012 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.2101, allocations: 15.97 kB / 0.6013 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2102, allocations: 34.5 kB / 0.6013 GB, free: 11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/0.2102, allocations: 0 / 0.6013 GB, free: 11 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008154/0.211, allocations: 245.4 kB / 0.6015 GB, free: 10.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.211, allocations: 55.41 kB / 0.6016 GB, free: 10.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2112, allocations: 158 kB / 0.6017 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.2112, allocations: 29.7 kB / 0.6018 GB, free: 10.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.2113, allocations: 128 kB / 0.6019 GB, free: 10.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.2114, allocations: 59.11 kB / 0.6019 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.2115, allocations: 53.92 kB / 0.602 GB, free: 10.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2116, allocations: 322.8 kB / 0.6023 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2118, allocations: 60.42 kB / 0.6024 GB, free: 9.859 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.2121, allocations: 147 kB / 0.6025 GB, free: 9.684 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.2126, allocations: 222.8 kB / 0.6027 GB, free: 9.434 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2126, allocations: 4 kB / 0.6027 GB, free: 9.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005623/0.2132, allocations: 246.9 kB / 0.6029 GB, free: 9.184 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2132, allocations: 4 kB / 0.6029 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2132, allocations: 8.297 kB / 0.603 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2132, allocations: 8 kB / 0.603 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.2136, allocations: 59.89 kB / 0.603 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2136, allocations: 4 kB / 0.603 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.2139, allocations: 31.73 kB / 0.6031 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2139, allocations: 16 kB / 0.6031 GB, free: 9.055 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.214, allocations: 134.5 kB / 0.6032 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.2141, allocations: 11.91 kB / 0.6032 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.2147, allocations: 234.6 kB / 0.6034 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2147, allocations: 4 kB / 0.6034 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2148, allocations: 0 / 0.6034 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2148, allocations: 3.984 kB / 0.6034 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.2151, allocations: 245.3 kB / 0.6037 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2151, allocations: 0 / 0.6037 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.2154, allocations: 39.97 kB / 0.6037 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2154, allocations: 11.98 kB / 0.6037 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2154, allocations: 4 kB / 0.6037 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2154, allocations: 0 / 0.6037 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2154, allocations: 8 kB / 0.6037 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.216, allocations: 291.1 kB / 0.604 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.2161, allocations: 108.9 kB / 0.6041 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.2161, allocations: 0 / 0.6041 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.2164, allocations: 19.98 kB / 0.6041 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.2164, allocations: 11.98 kB / 0.6041 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.2165, allocations: 11.92 kB / 0.6042 GB, free: 7.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.299e-05/0.2166, allocations: 111.2 kB / 0.6043 GB, free: 7.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2166, allocations: 0 / 0.6043 GB, free: 7.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.2169, allocations: 63.94 kB / 0.6043 GB, free: 7.668 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002172/0.2171, allocations: 135.3 kB / 0.6045 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.2177, allocations: 189.6 kB / 0.6046 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2177, allocations: 0 / 0.6046 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.218, allocations: 87.88 kB / 0.6047 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.2185, allocations: 60.5 kB / 0.6048 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.2195, allocations: 471.4 kB / 0.6052 GB, free: 6.711 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2198, allocations: 0.7095 MB / 0.6059 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.2201, allocations: 53.92 kB / 0.606 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.2202, allocations: 27.42 kB / 0.606 GB, free: 5.891 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2202, allocations: 0 / 0.606 GB, free: 5.891 MB / 462.1 MB Notification: Performance of Templates: time 0.006756/0.227, allocations: 3.283 MB / 0.6092 GB, free: 2.695 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)