Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.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.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") translateModel(Buildings.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") [/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.1814/0.1821, allocations: 82.22 MB / 0.5941 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTestImplementation): time 0.01433/0.1965, allocations: 12.65 MB / 0.6065 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1986, allocations: 1.595 MB / 0.608 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.1988, allocations: 7.938 kB / 0.608 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.1993, allocations: 139.2 kB / 0.6081 GB, free: 7.168 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000814/0.2002, allocations: 314.5 kB / 0.6084 GB, free: 6.859 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.2008, allocations: 171.2 kB / 0.6086 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.202, allocations: 1.129 MB / 0.6097 GB, free: 5.566 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.2022, allocations: 76.67 kB / 0.6098 GB, free: 5.488 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.2029, allocations: 302.7 kB / 0.6101 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.2032, allocations: 243 kB / 0.6103 GB, free: 4.953 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.2033, allocations: 15.98 kB / 0.6103 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.2034, allocations: 19.98 kB / 0.6103 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2035, allocations: 67.69 kB / 0.6104 GB, free: 4.852 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.2037, allocations: 177 kB / 0.6106 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.2041, allocations: 347 kB / 0.6109 GB, free: 4.332 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2041, allocations: 0 / 0.6109 GB, free: 4.332 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2041, allocations: 0 / 0.6109 GB, free: 4.332 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2041, allocations: 0 / 0.6109 GB, free: 4.332 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006408/0.2048, allocations: 0.499 MB / 0.6114 GB, free: 3.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2048, allocations: 8.031 kB / 0.6114 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.2051, allocations: 36.64 kB / 0.6114 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.2055, allocations: 283.7 kB / 0.6117 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2055, allocations: 20.94 kB / 0.6117 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.2055, allocations: 20.38 kB / 0.6117 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.206, allocations: 312.1 kB / 0.612 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2061, allocations: 0 / 0.612 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.2061, allocations: 15.98 kB / 0.6121 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.2061, allocations: 11.94 kB / 0.6121 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.2064, allocations: 169.5 kB / 0.6122 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.2081, allocations: 1.845 MB / 0.614 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2083, allocations: 110.5 kB / 0.6141 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.2084, allocations: 56.94 kB / 0.6142 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2084, allocations: 0 / 0.6142 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.2084, allocations: 34.56 kB / 0.6142 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 3.056e-06/0.2085, allocations: 4 kB / 0.6142 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001213/0.2097, allocations: 0.6432 MB / 0.6149 GB, free: 15.92 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2097, allocations: 51.41 kB / 0.6149 GB, free: 15.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.21, allocations: 282.4 kB / 0.6152 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.21, allocations: 33.7 kB / 0.6152 GB, free: 15.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2102, allocations: 195.6 kB / 0.6154 GB, free: 15.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2102, allocations: 55.2 kB / 0.6154 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.2103, allocations: 33.7 kB / 0.6155 GB, free: 15.24 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2104, allocations: 330.8 kB / 0.6158 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.165e-05/0.2105, allocations: 55.98 kB / 0.6159 GB, free: 14.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.2107, allocations: 152.8 kB / 0.616 GB, free: 14.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.211, allocations: 241.9 kB / 0.6162 GB, free: 14.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.211, allocations: 0 / 0.6162 GB, free: 14.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004229/0.2114, allocations: 290.1 kB / 0.6165 GB, free: 14.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2114, allocations: 4 kB / 0.6165 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2115, allocations: 7.938 kB / 0.6165 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-05/0.2116, allocations: 24.84 kB / 0.6165 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2118, allocations: 63.91 kB / 0.6166 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.2129, allocations: 1.292 MB / 0.6179 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.213, allocations: 15.98 kB / 0.6179 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2131, allocations: 16 kB / 0.6179 GB, free: 12.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.2132, allocations: 159.2 kB / 0.618 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.2133, allocations: 27.72 kB / 0.6181 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.2134, allocations: 22.17 kB / 0.6181 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2134, allocations: 4 kB / 0.6181 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2134, allocations: 0 / 0.6181 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004829/0.2139, allocations: 459.7 kB / 0.6185 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008077/0.2147, allocations: 0.5843 MB / 0.6191 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2147, allocations: 0 / 0.6191 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2148, allocations: 39.91 kB / 0.6191 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2149, allocations: 0 / 0.6191 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2149, allocations: 8 kB / 0.6191 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2149, allocations: 4 kB / 0.6192 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2149, allocations: 3.938 kB / 0.6192 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.2153, allocations: 332.8 kB / 0.6195 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.2154, allocations: 104.8 kB / 0.6196 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.2154, allocations: 4.062 kB / 0.6196 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2156, allocations: 12 kB / 0.6196 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.2157, allocations: 15.92 kB / 0.6196 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2157, allocations: 11.98 kB / 0.6196 GB, free: 10.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.2159, allocations: 198 kB / 0.6198 GB, free: 10.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2159, allocations: 0 / 0.6198 GB, free: 10.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.2163, allocations: 72 kB / 0.6199 GB, free: 10.29 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001208/0.2164, allocations: 103.2 kB / 0.62 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.2169, allocations: 267.3 kB / 0.6202 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2169, allocations: 0.875 kB / 0.6202 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.217, allocations: 59.92 kB / 0.6203 GB, free: 9.844 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.218, allocations: 152 kB / 0.6204 GB, free: 9.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2193, allocations: 0.7247 MB / 0.6211 GB, free: 8.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.2196, allocations: 0.7603 MB / 0.6219 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.2199, allocations: 50.94 kB / 0.6219 GB, free: 8.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.2199, allocations: 23.44 kB / 0.622 GB, free: 8.07 MB / 478.1 MB Notification: Performance of SimCode: time 2.285e-06/0.2199, allocations: 4 kB / 0.622 GB, free: 8.066 MB / 478.1 MB Notification: Performance of Templates: time 0.009701/0.2296, allocations: 4.47 MB / 0.6263 GB, free: 3.66 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe 2>&1) Environment - environmentSimulation: