Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") [/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.1872/0.1892, allocations: 80.85 MB / 0.5899 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005632/0.1949, allocations: 4.718 MB / 0.5945 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1973, allocations: 2.628 MB / 0.597 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.1975, allocations: 4 kB / 0.597 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1978, allocations: 39.73 kB / 0.5971 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.198, allocations: 83.5 kB / 0.5972 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1992, allocations: 412.2 kB / 0.5976 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1994, allocations: 223.9 kB / 0.5978 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.1995, allocations: 17.55 kB / 0.5978 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1996, allocations: 103.7 kB / 0.5979 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1998, allocations: 95.58 kB / 0.598 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1998, allocations: 8 kB / 0.598 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/0.2005, allocations: 347.3 kB / 0.5983 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.2005, allocations: 35.83 kB / 0.5983 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.2006, allocations: 79.66 kB / 0.5984 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.2012, allocations: 339.4 kB / 0.5987 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2012, allocations: 7.938 kB / 0.5988 GB, free: 13.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2012, allocations: 0 / 0.5988 GB, free: 13.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.2012, allocations: 4 kB / 0.5988 GB, free: 13.84 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.0008465/0.2021, allocations: 495.2 kB / 0.5992 GB, free: 13.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2021, allocations: 12.03 kB / 0.5992 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.2023, allocations: 20.75 kB / 0.5993 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.2026, allocations: 212.2 kB / 0.5995 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2026, allocations: 8.703 kB / 0.5995 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.2026, allocations: 16.38 kB / 0.5995 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.2031, allocations: 254.1 kB / 0.5997 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2032, allocations: 3.984 kB / 0.5997 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.2032, allocations: 11.94 kB / 0.5997 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.2032, allocations: 4 kB / 0.5997 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.2038, allocations: 431.4 kB / 0.6002 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.2054, allocations: 1.011 MB / 0.6011 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.2057, allocations: 164.4 kB / 0.6013 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2058, allocations: 61.98 kB / 0.6014 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.2075, allocations: 1.825 MB / 0.6031 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2075, allocations: 38.56 kB / 0.6032 GB, free: 8.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.2075, allocations: 0 / 0.6032 GB, free: 8.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003392/0.2079, allocations: 145.4 kB / 0.6033 GB, free: 8.586 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2079, allocations: 55.34 kB / 0.6034 GB, free: 8.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2081, allocations: 165 kB / 0.6035 GB, free: 8.352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2081, allocations: 29.7 kB / 0.6036 GB, free: 8.316 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.2082, allocations: 143.8 kB / 0.6037 GB, free: 8.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.2083, allocations: 55.2 kB / 0.6037 GB, free: 8.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.2083, allocations: 53.7 kB / 0.6038 GB, free: 8.059 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2085, allocations: 326.8 kB / 0.6041 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.2085, allocations: 39.97 kB / 0.6042 GB, free: 7.691 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2087, allocations: 137.7 kB / 0.6043 GB, free: 7.508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.2089, allocations: 207.4 kB / 0.6045 GB, free: 7.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2089, allocations: 0 / 0.6045 GB, free: 7.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000321/0.2093, allocations: 205.6 kB / 0.6047 GB, free: 7.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.2093, allocations: 12.03 kB / 0.6047 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2093, allocations: 4 kB / 0.6047 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2093, allocations: 4 kB / 0.6047 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2095, allocations: 55.86 kB / 0.6047 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.2096, allocations: 7.984 kB / 0.6048 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.2097, allocations: 31.69 kB / 0.6048 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.2097, allocations: 15.94 kB / 0.6048 GB, free: 6.922 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001305/0.2098, allocations: 134.4 kB / 0.6049 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.2099, allocations: 19.81 kB / 0.6049 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.2102, allocations: 150 kB / 0.6051 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.2103, allocations: 7.938 kB / 0.6051 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2103, allocations: 0 / 0.6051 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2103, allocations: 0 / 0.6051 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.2106, allocations: 217.5 kB / 0.6053 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2106, allocations: 0 / 0.6053 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.2107, allocations: 27.92 kB / 0.6053 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2107, allocations: 0 / 0.6053 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.2108, allocations: 8 kB / 0.6053 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2108, allocations: 7.938 kB / 0.6053 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2108, allocations: 3.984 kB / 0.6054 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.2111, allocations: 219.3 kB / 0.6056 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2112, allocations: 104.9 kB / 0.6057 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.2112, allocations: 0 / 0.6057 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2114, allocations: 15.92 kB / 0.6057 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.2114, allocations: 15.98 kB / 0.6057 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.2115, allocations: 11.98 kB / 0.6057 GB, free: 5.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.2116, allocations: 120 kB / 0.6058 GB, free: 5.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2116, allocations: 0 / 0.6058 GB, free: 5.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.2121, allocations: 71.94 kB / 0.6059 GB, free: 5.711 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005531/0.2126, allocations: 171.1 kB / 0.606 GB, free: 5.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.2129, allocations: 127.7 kB / 0.6062 GB, free: 5.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.213, allocations: 0 / 0.6062 GB, free: 5.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.213, allocations: 43.92 kB / 0.6062 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.2135, allocations: 63.69 kB / 0.6063 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.2143, allocations: 382.9 kB / 0.6066 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.2146, allocations: 0.7207 MB / 0.6073 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.2148, allocations: 41.8 kB / 0.6074 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2148, allocations: 23.44 kB / 0.6074 GB, free: 4.098 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2149, allocations: 0 / 0.6074 GB, free: 4.098 MB / 462.1 MB Notification: Performance of Templates: time 0.006529/0.2214, allocations: 3.221 MB / 0.6105 GB, free: 0.9219 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)