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.1869/0.1876, allocations: 82.21 MB / 0.5941 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005551/0.1933, allocations: 4.351 MB / 0.5983 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.196, allocations: 2.621 MB / 0.6009 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.1961, allocations: 0 / 0.6009 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1964, allocations: 39.8 kB / 0.6009 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1966, allocations: 91.42 kB / 0.601 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.1976, allocations: 398.1 kB / 0.6014 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.1979, allocations: 295.8 kB / 0.6017 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.198, allocations: 17.55 kB / 0.6017 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.1982, allocations: 95.64 kB / 0.6018 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1983, allocations: 91.64 kB / 0.6019 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1984, allocations: 15.88 kB / 0.6019 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005981/0.199, allocations: 351.2 kB / 0.6022 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.199, allocations: 35.84 kB / 0.6023 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.1991, allocations: 97.36 kB / 0.6024 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.1996, allocations: 339.4 kB / 0.6027 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1996, allocations: 7.938 kB / 0.6027 GB, free: 12.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1997, allocations: 0 / 0.6027 GB, free: 12.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1997, allocations: 0 / 0.6027 GB, free: 12.74 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.0007102/0.2004, allocations: 463.3 kB / 0.6031 GB, free: 12.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2004, allocations: 12.03 kB / 0.6031 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2006, allocations: 20.75 kB / 0.6032 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.2008, allocations: 208.2 kB / 0.6034 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2008, allocations: 12.7 kB / 0.6034 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2009, allocations: 20.38 kB / 0.6034 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.2013, allocations: 246.1 kB / 0.6036 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2013, allocations: 0 / 0.6036 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.2013, allocations: 19.92 kB / 0.6036 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.2014, allocations: 4 kB / 0.6037 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.2018, allocations: 431.4 kB / 0.6041 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2029, allocations: 1.004 MB / 0.605 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.2032, allocations: 156.4 kB / 0.6052 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2033, allocations: 65.97 kB / 0.6053 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.2047, allocations: 1.829 MB / 0.607 GB, free: 7.711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2047, allocations: 38.56 kB / 0.6071 GB, free: 7.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2047, allocations: 0 / 0.6071 GB, free: 7.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003129/0.2051, allocations: 139 kB / 0.6072 GB, free: 7.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2051, allocations: 59.34 kB / 0.6073 GB, free: 7.453 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2053, allocations: 168.9 kB / 0.6074 GB, free: 7.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2053, allocations: 29.7 kB / 0.6075 GB, free: 7.246 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.2054, allocations: 143.8 kB / 0.6076 GB, free: 7.102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.2054, allocations: 55.2 kB / 0.6076 GB, free: 7.047 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2055, allocations: 33.7 kB / 0.6077 GB, free: 7.008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2056, allocations: 318.8 kB / 0.608 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.2057, allocations: 35.98 kB / 0.608 GB, free: 6.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2058, allocations: 145.6 kB / 0.6082 GB, free: 6.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.206, allocations: 196.2 kB / 0.6083 GB, free: 6.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.206, allocations: 0 / 0.6083 GB, free: 6.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002952/0.2063, allocations: 209.5 kB / 0.6085 GB, free: 6.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2064, allocations: 12.09 kB / 0.6086 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2064, allocations: 7.984 kB / 0.6086 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2064, allocations: 4 kB / 0.6086 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.2066, allocations: 55.86 kB / 0.6086 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2066, allocations: 7.938 kB / 0.6086 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2067, allocations: 27.69 kB / 0.6087 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2068, allocations: 15.98 kB / 0.6087 GB, free: 5.883 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.0001029/0.2069, allocations: 138.3 kB / 0.6088 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.2069, allocations: 19.81 kB / 0.6088 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.2072, allocations: 143.1 kB / 0.609 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.2072, allocations: 7.938 kB / 0.609 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2072, allocations: 0 / 0.609 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2072, allocations: 3.984 kB / 0.609 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2075, allocations: 213.5 kB / 0.6092 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2075, allocations: 0 / 0.6092 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.684e-05/0.2076, allocations: 31.92 kB / 0.6092 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2076, allocations: 0 / 0.6092 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2076, allocations: 4 kB / 0.6092 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2076, allocations: 7.938 kB / 0.6092 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2076, allocations: 4 kB / 0.6092 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.2078, allocations: 222.5 kB / 0.6094 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.2079, allocations: 108.9 kB / 0.6095 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.208, allocations: 4 kB / 0.6095 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2081, allocations: 11.88 kB / 0.6095 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.2082, allocations: 19.98 kB / 0.6096 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2082, allocations: 7.984 kB / 0.6096 GB, free: 4.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.844e-05/0.2083, allocations: 123.9 kB / 0.6097 GB, free: 4.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2083, allocations: 0 / 0.6097 GB, free: 4.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.2086, allocations: 75.94 kB / 0.6098 GB, free: 4.66 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.0003072/0.209, allocations: 171.1 kB / 0.6099 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2092, allocations: 123.7 kB / 0.61 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2092, allocations: 0 / 0.61 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.2093, allocations: 39.98 kB / 0.6101 GB, free: 4.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.2097, allocations: 56.88 kB / 0.6101 GB, free: 4.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.2104, allocations: 433.4 kB / 0.6105 GB, free: 3.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2107, allocations: 0.717 MB / 0.6113 GB, free: 3.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.2108, allocations: 41.77 kB / 0.6113 GB, free: 3.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.2109, allocations: 23.44 kB / 0.6113 GB, free: 3.016 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2109, allocations: 0 / 0.6113 GB, free: 3.016 MB / 462.1 MB Notification: Performance of Templates: time 0.006423/0.2173, allocations: 3.113 MB / 0.6144 GB, free: 15.95 MB / 478.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: