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.2201/0.2223, allocations: 80.84 MB / 0.6707 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006632/0.229, allocations: 4.56 MB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.23, allocations: 0.7988 MB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.2301, allocations: 3.938 kB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.2303, allocations: 31.83 kB / 0.6759 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.2304, allocations: 35.64 kB / 0.676 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.2309, allocations: 167.4 kB / 0.6761 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.2311, allocations: 171.4 kB / 0.6763 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2312, allocations: 28.86 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.2314, allocations: 75.77 kB / 0.6764 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2315, allocations: 83.66 kB / 0.6765 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.2316, allocations: 12 kB / 0.6765 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.232, allocations: 155.8 kB / 0.6766 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.232, allocations: 35.89 kB / 0.6767 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.2321, allocations: 59.73 kB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.2325, allocations: 239.4 kB / 0.6769 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.2325, allocations: 4 kB / 0.6769 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2325, allocations: 0 / 0.6769 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2325, allocations: 0 / 0.6769 GB, free: 11.51 MB / 0.5137 GB 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.0009217/0.2334, allocations: 486.8 kB / 0.6774 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2335, allocations: 8.031 kB / 0.6774 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.2336, allocations: 12.84 kB / 0.6774 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.2337, allocations: 199.5 kB / 0.6776 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2338, allocations: 4 kB / 0.6776 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.2338, allocations: 12 kB / 0.6776 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.2341, allocations: 119.9 kB / 0.6777 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2342, allocations: 4 kB / 0.6777 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2342, allocations: 4 kB / 0.6778 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2342, allocations: 0 / 0.6778 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.2346, allocations: 139.9 kB / 0.6779 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2357, allocations: 472.4 kB / 0.6783 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.236, allocations: 114.5 kB / 0.6784 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.2362, allocations: 76.81 kB / 0.6785 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.2376, allocations: 0.9606 MB / 0.6795 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2376, allocations: 34.5 kB / 0.6795 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.2377, allocations: 0 / 0.6795 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.000705/0.2384, allocations: 213.7 kB / 0.6797 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2384, allocations: 51.41 kB / 0.6797 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.2386, allocations: 172.1 kB / 0.6799 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2386, allocations: 37.64 kB / 0.6799 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.2387, allocations: 108.4 kB / 0.68 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.2387, allocations: 39.39 kB / 0.6801 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.2388, allocations: 49.7 kB / 0.6801 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.239, allocations: 326.8 kB / 0.6804 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2392, allocations: 71.94 kB / 0.6805 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2395, allocations: 119.9 kB / 0.6806 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.24, allocations: 169 kB / 0.6808 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.24, allocations: 4 kB / 0.6808 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000554/0.2406, allocations: 252.9 kB / 0.681 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2406, allocations: 4 kB / 0.681 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2406, allocations: 0 / 0.681 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2406, allocations: 4 kB / 0.681 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2409, allocations: 63.98 kB / 0.6811 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2409, allocations: 4 kB / 0.6811 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.2411, allocations: 23.83 kB / 0.6811 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2411, allocations: 8 kB / 0.6811 GB, free: 6.828 MB / 0.5137 GB 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 0.0001174/0.2412, allocations: 125.8 kB / 0.6813 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.2413, allocations: 23.73 kB / 0.6813 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.2418, allocations: 175 kB / 0.6814 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2418, allocations: 4 kB / 0.6814 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.2418, allocations: 3.984 kB / 0.6815 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2418, allocations: 0 / 0.6815 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.2421, allocations: 217.5 kB / 0.6817 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2421, allocations: 0 / 0.6817 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2423, allocations: 31.91 kB / 0.6817 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2423, allocations: 8 kB / 0.6817 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2423, allocations: 0 / 0.6817 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2423, allocations: 3.938 kB / 0.6817 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.2423, allocations: 0 / 0.6817 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.2428, allocations: 263.2 kB / 0.682 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.2429, allocations: 97 kB / 0.682 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.243, allocations: 3.938 kB / 0.682 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2431, allocations: 19.97 kB / 0.6821 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.2432, allocations: 7.984 kB / 0.6821 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.2432, allocations: 4 kB / 0.6821 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.704e-05/0.2433, allocations: 116 kB / 0.6822 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2433, allocations: 0 / 0.6822 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003338/0.2436, allocations: 64.22 kB / 0.6822 GB, free: 5.586 MB / 0.5137 GB 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.0003621/0.244, allocations: 163 kB / 0.6824 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.2445, allocations: 167.9 kB / 0.6826 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2445, allocations: 4 kB / 0.6826 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.2447, allocations: 63.89 kB / 0.6826 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.2452, allocations: 31.92 kB / 0.6827 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.2458, allocations: 253.3 kB / 0.6829 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.2462, allocations: 0.7006 MB / 0.6836 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.825e-05/0.2463, allocations: 25.44 kB / 0.6836 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.2463, allocations: 15.44 kB / 0.6836 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.2463, allocations: 3.938 kB / 0.6836 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of Templates: time 0.006866/0.2532, allocations: 2.743 MB / 0.6863 GB, free: 1.391 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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)