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.2118/0.2129, allocations: 82.22 MB / 0.5941 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006064/0.219, allocations: 4.218 MB / 0.5982 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2202, allocations: 0.7949 MB / 0.599 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2203, allocations: 0 / 0.599 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.2205, allocations: 23.89 kB / 0.599 GB, free: 492 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2206, allocations: 35.7 kB / 0.5991 GB, free: 456 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.2213, allocations: 143.5 kB / 0.5992 GB, free: 312 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.2215, allocations: 167.4 kB / 0.5994 GB, free: 144 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2216, allocations: 25.39 kB / 0.5994 GB, free: 120 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.2218, allocations: 71.75 kB / 0.5995 GB, free: 48 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2219, allocations: 71.72 kB / 0.5995 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.222, allocations: 8 kB / 0.5995 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.2223, allocations: 143.8 kB / 0.5997 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.2223, allocations: 31.83 kB / 0.5997 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.2224, allocations: 81.42 kB / 0.5998 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.2228, allocations: 235.3 kB / 0.6 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2228, allocations: 0 / 0.6 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2228, allocations: 0 / 0.6 GB, free: 15.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2228, allocations: 0 / 0.6 GB, free: 15.48 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008543/0.2236, allocations: 471 kB / 0.6005 GB, free: 14.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2237, allocations: 12.03 kB / 0.6005 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.2237, allocations: 12.75 kB / 0.6005 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2239, allocations: 188.5 kB / 0.6007 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2239, allocations: 11.98 kB / 0.6007 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.224, allocations: 12 kB / 0.6007 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.2243, allocations: 133.5 kB / 0.6008 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2243, allocations: 0 / 0.6008 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2243, allocations: 0 / 0.6008 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2243, allocations: 7.938 kB / 0.6008 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.2248, allocations: 167.8 kB / 0.601 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.2258, allocations: 464.5 kB / 0.6014 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.2261, allocations: 138.5 kB / 0.6016 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.2263, allocations: 84.81 kB / 0.6016 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.2277, allocations: 0.9606 MB / 0.6026 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.2277, allocations: 42.44 kB / 0.6026 GB, free: 12.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2277, allocations: 0 / 0.6026 GB, free: 12.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007202/0.2285, allocations: 241.3 kB / 0.6028 GB, free: 12.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2285, allocations: 59.39 kB / 0.6029 GB, free: 12.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2287, allocations: 164.9 kB / 0.6031 GB, free: 12.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2287, allocations: 29.7 kB / 0.6031 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.2288, allocations: 108.4 kB / 0.6032 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2289, allocations: 47.3 kB / 0.6032 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.2289, allocations: 29.7 kB / 0.6033 GB, free: 11.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.229, allocations: 322.8 kB / 0.6036 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2293, allocations: 87.89 kB / 0.6037 GB, free: 11.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.2295, allocations: 129.3 kB / 0.6038 GB, free: 11.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.23, allocations: 187.8 kB / 0.604 GB, free: 11.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.23, allocations: 0 / 0.604 GB, free: 11.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005576/0.2306, allocations: 273.2 kB / 0.6042 GB, free: 10.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2306, allocations: 6.125 kB / 0.6042 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2306, allocations: 4 kB / 0.6042 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2306, allocations: 4 kB / 0.6042 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.2309, allocations: 55.91 kB / 0.6043 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2309, allocations: 7.984 kB / 0.6043 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.2311, allocations: 35.73 kB / 0.6043 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.2311, allocations: 12 kB / 0.6043 GB, free: 10.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.462e-05/0.2312, allocations: 125.8 kB / 0.6045 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.2313, allocations: 11.84 kB / 0.6045 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.2318, allocations: 198.8 kB / 0.6047 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2318, allocations: 4 kB / 0.6047 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2318, allocations: 0 / 0.6047 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2318, allocations: 0 / 0.6047 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.232, allocations: 217.5 kB / 0.6049 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.232, allocations: 7.984 kB / 0.6049 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.2322, allocations: 35.92 kB / 0.6049 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2322, allocations: 0 / 0.6049 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2322, allocations: 7.938 kB / 0.6049 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2322, allocations: 0 / 0.6049 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2322, allocations: 7.984 kB / 0.6049 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.2327, allocations: 282.8 kB / 0.6052 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.2328, allocations: 97 kB / 0.6053 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.2328, allocations: 4 kB / 0.6053 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.233, allocations: 15.98 kB / 0.6053 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.233, allocations: 7.984 kB / 0.6053 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2331, allocations: 8 kB / 0.6053 GB, free: 9.555 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.491e-05/0.2331, allocations: 112 kB / 0.6054 GB, free: 9.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2331, allocations: 0 / 0.6054 GB, free: 9.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.2335, allocations: 68.3 kB / 0.6055 GB, free: 9.379 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 (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.0003299/0.2338, allocations: 159.1 kB / 0.6056 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.2343, allocations: 200 kB / 0.6058 GB, free: 9.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2344, allocations: 0 / 0.6058 GB, free: 9.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.2346, allocations: 75.89 kB / 0.6059 GB, free: 8.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.235, allocations: 27.92 kB / 0.6059 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.2355, allocations: 298 kB / 0.6062 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2358, allocations: 0.7009 MB / 0.6069 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.2359, allocations: 24.27 kB / 0.6069 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.236, allocations: 15.44 kB / 0.6069 GB, free: 7.84 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.236, allocations: 0 / 0.6069 GB, free: 7.84 MB / 462.1 MB Notification: Performance of Templates: time 0.005767/0.2418, allocations: 2.529 MB / 0.6094 GB, free: 5.363 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: