Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [/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.1997/0.2005, allocations: 82.23 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005886/0.2064, allocations: 3.879 MB / 0.5972 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2076, allocations: 0.6826 MB / 0.5978 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.2077, allocations: 0 / 0.5978 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.208, allocations: 23.84 kB / 0.5979 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2081, allocations: 35.92 kB / 0.5979 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.2087, allocations: 131.6 kB / 0.598 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.2089, allocations: 111.8 kB / 0.5981 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2091, allocations: 29.31 kB / 0.5981 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.2093, allocations: 63.81 kB / 0.5982 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2095, allocations: 71.69 kB / 0.5983 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.2095, allocations: 11.98 kB / 0.5983 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.2099, allocations: 119.8 kB / 0.5984 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.2099, allocations: 27.89 kB / 0.5984 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.21, allocations: 45.64 kB / 0.5985 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.2103, allocations: 163.5 kB / 0.5986 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2103, allocations: 4 kB / 0.5986 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2103, allocations: 0 / 0.5986 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2103, allocations: 0 / 0.5986 GB, free: 0.6055 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009041/0.2112, allocations: 466.8 kB / 0.5991 GB, free: 104 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2113, allocations: 8.031 kB / 0.5991 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.2113, allocations: 15.81 kB / 0.5991 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.2115, allocations: 175.5 kB / 0.5993 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2116, allocations: 8 kB / 0.5993 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2116, allocations: 12 kB / 0.5993 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.212, allocations: 135.6 kB / 0.5994 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.2121, allocations: 0 / 0.5994 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2121, allocations: 0 / 0.5994 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2121, allocations: 4 kB / 0.5994 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.2125, allocations: 163.9 kB / 0.5996 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.2137, allocations: 476.4 kB / 0.6 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.214, allocations: 138.5 kB / 0.6002 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.2154, allocations: 0.9608 MB / 0.6011 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2155, allocations: 34.56 kB / 0.6011 GB, free: 13.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 4.138e-06/0.2155, allocations: 7.984 kB / 0.6011 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007032/0.2162, allocations: 241.4 kB / 0.6014 GB, free: 13.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2163, allocations: 55.34 kB / 0.6014 GB, free: 13.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.2164, allocations: 172.8 kB / 0.6016 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2165, allocations: 33.64 kB / 0.6016 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2166, allocations: 104.4 kB / 0.6017 GB, free: 13.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.2166, allocations: 43.39 kB / 0.6018 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.2167, allocations: 8 kB / 0.6018 GB, free: 13.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2168, allocations: 322.8 kB / 0.6021 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.2171, allocations: 87.88 kB / 0.6022 GB, free: 12.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.2174, allocations: 117.3 kB / 0.6023 GB, free: 12.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.2176, allocations: 103 kB / 0.6024 GB, free: 12.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2177, allocations: 0 / 0.6024 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000597/0.2183, allocations: 265.1 kB / 0.6026 GB, free: 12.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2183, allocations: 4 kB / 0.6026 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2183, allocations: 0 / 0.6026 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2183, allocations: 7.953 kB / 0.6026 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.2186, allocations: 60.06 kB / 0.6027 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2186, allocations: 7.938 kB / 0.6027 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.2188, allocations: 39.75 kB / 0.6027 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2189, allocations: 4 kB / 0.6027 GB, free: 12.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * 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.0001381/0.219, allocations: 129.8 kB / 0.6029 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.219, allocations: 11.81 kB / 0.6029 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/0.2196, allocations: 198.9 kB / 0.6031 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2196, allocations: 7.953 kB / 0.6031 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.2196, allocations: 4 kB / 0.6031 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2196, allocations: 0 / 0.6031 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.2199, allocations: 221.4 kB / 0.6033 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2199, allocations: 0 / 0.6033 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.2201, allocations: 39.97 kB / 0.6033 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2201, allocations: 0 / 0.6033 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2201, allocations: 0 / 0.6033 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2201, allocations: 0 / 0.6033 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2201, allocations: 3.953 kB / 0.6033 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.2206, allocations: 279.3 kB / 0.6036 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.2207, allocations: 100.9 kB / 0.6037 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.2207, allocations: 0 / 0.6037 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2209, allocations: 27.92 kB / 0.6037 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.2209, allocations: 7.984 kB / 0.6037 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.221, allocations: 7.953 kB / 0.6037 GB, free: 10.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.2211, allocations: 116 kB / 0.6038 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2211, allocations: 0 / 0.6038 GB, free: 10.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.2215, allocations: 60.05 kB / 0.6039 GB, free: 10.74 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.0003179/0.2218, allocations: 151.2 kB / 0.604 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.2223, allocations: 198.3 kB / 0.6042 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2223, allocations: 0 / 0.6042 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.2225, allocations: 76.14 kB / 0.6043 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.2228, allocations: 19.92 kB / 0.6043 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.2234, allocations: 365.5 kB / 0.6047 GB, free: 9.918 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.2237, allocations: 0.7126 MB / 0.6054 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.2238, allocations: 21.06 kB / 0.6054 GB, free: 9.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.2239, allocations: 19.44 kB / 0.6054 GB, free: 9.141 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2239, allocations: 0 / 0.6054 GB, free: 9.141 MB / 462.1 MB Notification: Performance of Templates: time 0.006214/0.2301, allocations: 2.456 MB / 0.6078 GB, free: 6.738 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: