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.2346/0.2356, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005183/0.2409, allocations: 4.068 MB / 0.5974 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.2419, allocations: 0.7525 MB / 0.5982 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.242, allocations: 0 / 0.5982 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.2422, allocations: 19.89 kB / 0.5982 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.2423, allocations: 31.77 kB / 0.5982 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.2428, allocations: 127.5 kB / 0.5984 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.243, allocations: 159.4 kB / 0.5985 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2431, allocations: 17.39 kB / 0.5985 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.2433, allocations: 71.77 kB / 0.5986 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.2434, allocations: 71.72 kB / 0.5987 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.2434, allocations: 4 kB / 0.5987 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.2437, allocations: 119.8 kB / 0.5988 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.2437, allocations: 23.91 kB / 0.5988 GB, free: 496 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.2438, allocations: 49.58 kB / 0.5988 GB, free: 440 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2441, allocations: 167.6 kB / 0.599 GB, free: 272 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2441, allocations: 0 / 0.599 GB, free: 272 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2441, allocations: 0 / 0.599 GB, free: 272 kB / 446.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.2441, allocations: 0 / 0.599 GB, free: 272 kB / 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.0008427/0.2449, allocations: 470.7 kB / 0.5995 GB, free: 15.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.245, allocations: 12.03 kB / 0.5995 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.2451, allocations: 15.75 kB / 0.5995 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2452, allocations: 179.5 kB / 0.5997 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2452, allocations: 8 kB / 0.5997 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.2453, allocations: 12 kB / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.2456, allocations: 129.6 kB / 0.5998 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2456, allocations: 0 / 0.5998 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2456, allocations: 4 kB / 0.5998 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2456, allocations: 4 kB / 0.5998 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.246, allocations: 163.8 kB / 0.6 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.247, allocations: 472.4 kB / 0.6004 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.2472, allocations: 137.1 kB / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.2474, allocations: 84.81 kB / 0.6006 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.2487, allocations: 0.9648 MB / 0.6016 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2487, allocations: 34.52 kB / 0.6016 GB, free: 13.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2487, allocations: 0 / 0.6016 GB, free: 13.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006733/0.2494, allocations: 233.4 kB / 0.6018 GB, free: 13.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2495, allocations: 63.39 kB / 0.6019 GB, free: 13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2497, allocations: 168.8 kB / 0.602 GB, free: 12.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2497, allocations: 29.7 kB / 0.6021 GB, free: 12.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.2498, allocations: 104.4 kB / 0.6022 GB, free: 12.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.2498, allocations: 43.39 kB / 0.6022 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.2498, allocations: 4 kB / 0.6022 GB, free: 12.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.25, allocations: 322.8 kB / 0.6025 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2502, allocations: 95.81 kB / 0.6026 GB, free: 12.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.2505, allocations: 125.3 kB / 0.6027 GB, free: 12.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.2507, allocations: 87.02 kB / 0.6028 GB, free: 12.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2507, allocations: 8 kB / 0.6028 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005373/0.2513, allocations: 265.2 kB / 0.6031 GB, free: 11.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2513, allocations: 6.031 kB / 0.6031 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2513, allocations: 3.953 kB / 0.6031 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2513, allocations: 4 kB / 0.6031 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2516, allocations: 63.83 kB / 0.6032 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2516, allocations: 4 kB / 0.6032 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.2518, allocations: 35.92 kB / 0.6032 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.2518, allocations: 8 kB / 0.6032 GB, free: 11.61 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.0001074/0.2519, allocations: 133.7 kB / 0.6033 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.252, allocations: 15.81 kB / 0.6033 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.2524, allocations: 198.9 kB / 0.6035 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2525, allocations: 3.953 kB / 0.6035 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2525, allocations: 8 kB / 0.6035 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2525, allocations: 3.984 kB / 0.6035 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2527, allocations: 217.4 kB / 0.6038 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2527, allocations: 0 / 0.6038 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.2529, allocations: 35.97 kB / 0.6038 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2529, allocations: 0 / 0.6038 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2529, allocations: 4 kB / 0.6038 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2529, allocations: 0 / 0.6038 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2529, allocations: 11.89 kB / 0.6038 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.2534, allocations: 273.1 kB / 0.6041 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.2534, allocations: 100.9 kB / 0.6042 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.2535, allocations: 4 kB / 0.6042 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2536, allocations: 19.97 kB / 0.6042 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.2537, allocations: 11.94 kB / 0.6042 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2537, allocations: 12 kB / 0.6042 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.2538, allocations: 108 kB / 0.6043 GB, free: 10.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2538, allocations: 4 kB / 0.6043 GB, free: 10.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.2541, allocations: 60.06 kB / 0.6044 GB, free: 10.31 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.0003282/0.2545, allocations: 151.1 kB / 0.6045 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004765/0.2549, allocations: 188 kB / 0.6047 GB, free: 9.969 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.255, allocations: 4 kB / 0.6047 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.2551, allocations: 79.89 kB / 0.6048 GB, free: 9.887 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.2555, allocations: 23.92 kB / 0.6048 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.256, allocations: 364.2 kB / 0.6051 GB, free: 9.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2564, allocations: 0.7048 MB / 0.6058 GB, free: 8.758 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.2565, allocations: 21.06 kB / 0.6058 GB, free: 8.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.2565, allocations: 11.44 kB / 0.6059 GB, free: 8.727 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2565, allocations: 8 kB / 0.6059 GB, free: 8.719 MB / 462.1 MB Notification: Performance of Templates: time 0.00539/0.2619, allocations: 2.474 MB / 0.6083 GB, free: 6.305 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: