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.1858/0.1865, allocations: 82.22 MB / 0.5933 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004807/0.1914, allocations: 3.904 MB / 0.5972 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1938, allocations: 2.136 MB / 0.5992 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.1939, allocations: 0 / 0.5992 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1942, allocations: 39.7 kB / 0.5993 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1944, allocations: 79.7 kB / 0.5994 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008541/0.1953, allocations: 370.9 kB / 0.5997 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.1955, allocations: 144.7 kB / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.1956, allocations: 17.53 kB / 0.5999 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.1957, allocations: 91.69 kB / 0.6 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1959, allocations: 71.69 kB / 0.6 GB, free: 15.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1959, allocations: 8 kB / 0.6 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000579/0.1965, allocations: 271.6 kB / 0.6003 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.1966, allocations: 39.91 kB / 0.6003 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.1966, allocations: 57.58 kB / 0.6004 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.197, allocations: 199.8 kB / 0.6006 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.197, allocations: 0 / 0.6006 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.197, allocations: 4 kB / 0.6006 GB, free: 14.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.197, allocations: 0 / 0.6006 GB, free: 14.56 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.0006953/0.1977, allocations: 474.1 kB / 0.601 GB, free: 14.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1977, allocations: 8.031 kB / 0.601 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.1979, allocations: 23.81 kB / 0.6011 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1981, allocations: 210.8 kB / 0.6013 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1982, allocations: 12.33 kB / 0.6013 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.1982, allocations: 12 kB / 0.6013 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.1986, allocations: 241.9 kB / 0.6015 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1986, allocations: 4 kB / 0.6015 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.1986, allocations: 8 kB / 0.6015 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.1987, allocations: 8 kB / 0.6015 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.1992, allocations: 427.5 kB / 0.6019 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2004, allocations: 1.027 MB / 0.6029 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2007, allocations: 164.3 kB / 0.6031 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.2023, allocations: 1.841 MB / 0.6049 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.2023, allocations: 34.56 kB / 0.6049 GB, free: 9.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.2023, allocations: 0 / 0.6049 GB, free: 9.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003213/0.2026, allocations: 148 kB / 0.6051 GB, free: 9.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.2027, allocations: 55.36 kB / 0.6051 GB, free: 9.305 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2029, allocations: 172.9 kB / 0.6053 GB, free: 9.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2029, allocations: 29.7 kB / 0.6053 GB, free: 9.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.203, allocations: 143.8 kB / 0.6055 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.203, allocations: 51.28 kB / 0.6055 GB, free: 8.898 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.2031, allocations: 15.92 kB / 0.6055 GB, free: 8.883 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2032, allocations: 322.8 kB / 0.6058 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.2033, allocations: 31.98 kB / 0.6059 GB, free: 8.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.2035, allocations: 133.7 kB / 0.606 GB, free: 8.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2036, allocations: 55.94 kB / 0.606 GB, free: 8.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2036, allocations: 0 / 0.606 GB, free: 8.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000308/0.2039, allocations: 217.1 kB / 0.6062 GB, free: 8.074 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2039, allocations: 8 kB / 0.6063 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2039, allocations: 4 kB / 0.6063 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2039, allocations: 4 kB / 0.6063 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.2041, allocations: 59.91 kB / 0.6063 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.2042, allocations: 11.95 kB / 0.6063 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.2043, allocations: 32.08 kB / 0.6064 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2043, allocations: 16 kB / 0.6064 GB, free: 7.941 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.2044, allocations: 129.8 kB / 0.6065 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.2045, allocations: 19.81 kB / 0.6065 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.2048, allocations: 161.8 kB / 0.6067 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.2049, allocations: 4 kB / 0.6067 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.2049, allocations: 0 / 0.6067 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.2049, allocations: 7.938 kB / 0.6067 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.2052, allocations: 217.5 kB / 0.6069 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2052, allocations: 0 / 0.6069 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.2053, allocations: 27.98 kB / 0.6069 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2053, allocations: 0 / 0.6069 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.2053, allocations: 11.98 kB / 0.6069 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2053, allocations: 4 kB / 0.6069 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2053, allocations: 0 / 0.6069 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.2056, allocations: 223.2 kB / 0.6071 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2058, allocations: 113 kB / 0.6073 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.2058, allocations: 4 kB / 0.6073 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.206, allocations: 4 kB / 0.6073 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.206, allocations: 11.98 kB / 0.6073 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.206, allocations: 11.98 kB / 0.6073 GB, free: 6.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.165e-05/0.2061, allocations: 120 kB / 0.6074 GB, free: 6.793 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2061, allocations: 0 / 0.6074 GB, free: 6.793 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.2065, allocations: 79.92 kB / 0.6075 GB, free: 6.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.2069, allocations: 167.1 kB / 0.6076 GB, free: 6.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.2071, allocations: 111.8 kB / 0.6077 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2071, allocations: 0.9375 kB / 0.6077 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.2072, allocations: 43.92 kB / 0.6078 GB, free: 6.391 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.2076, allocations: 57.59 kB / 0.6078 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.2082, allocations: 430.2 kB / 0.6083 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.2085, allocations: 0.7211 MB / 0.609 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.2087, allocations: 41.81 kB / 0.609 GB, free: 5.109 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.2087, allocations: 27.42 kB / 0.609 GB, free: 5.082 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2087, allocations: 0 / 0.609 GB, free: 5.082 MB / 462.1 MB Notification: Performance of Templates: time 0.005862/0.2146, allocations: 2.949 MB / 0.6119 GB, free: 2.176 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: