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.2244/0.2265, allocations: 80.83 MB / 0.6707 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006655/0.2332, allocations: 4.568 MB / 0.6751 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2344, allocations: 0.7988 MB / 0.6759 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.2344, allocations: 3.938 kB / 0.6759 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2347, allocations: 27.78 kB / 0.6759 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.2347, allocations: 35.7 kB / 0.676 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2353, allocations: 171.4 kB / 0.6761 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.2355, allocations: 179.3 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2356, allocations: 16.91 kB / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.2358, allocations: 83.73 kB / 0.6764 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.236, allocations: 71.69 kB / 0.6765 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2361, allocations: 20 kB / 0.6765 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.2364, allocations: 155.8 kB / 0.6766 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.2364, allocations: 27.92 kB / 0.6766 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.2365, allocations: 67.7 kB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.2369, allocations: 243.3 kB / 0.6769 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.2369, allocations: 4 kB / 0.677 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2369, allocations: 0 / 0.677 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2369, allocations: 0 / 0.677 GB, free: 11.48 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.0009581/0.2379, allocations: 482.8 kB / 0.6774 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2379, allocations: 8.031 kB / 0.6774 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.238, allocations: 12.84 kB / 0.6774 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.2383, allocations: 195.6 kB / 0.6776 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2383, allocations: 4 kB / 0.6776 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2383, allocations: 12 kB / 0.6776 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2387, allocations: 121.5 kB / 0.6777 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2387, allocations: 3.984 kB / 0.6778 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.2387, allocations: 8 kB / 0.6778 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2387, allocations: 0 / 0.6778 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.2392, allocations: 139.9 kB / 0.6779 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.2403, allocations: 464.5 kB / 0.6783 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.2406, allocations: 122.5 kB / 0.6785 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2408, allocations: 76.75 kB / 0.6785 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.2423, allocations: 0.9568 MB / 0.6795 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.2424, allocations: 38.55 kB / 0.6795 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.2424, allocations: 0 / 0.6795 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006922/0.2431, allocations: 205.3 kB / 0.6797 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.2432, allocations: 59.41 kB / 0.6797 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.2434, allocations: 176 kB / 0.6799 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.2434, allocations: 33.7 kB / 0.6799 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.2435, allocations: 104.4 kB / 0.68 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.2436, allocations: 51.31 kB / 0.6801 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.2436, allocations: 45.7 kB / 0.6801 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002948/0.2439, allocations: 322.8 kB / 0.6804 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.2442, allocations: 71.94 kB / 0.6805 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.2445, allocations: 116 kB / 0.6806 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.2449, allocations: 172.9 kB / 0.6808 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2449, allocations: 0 / 0.6808 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005645/0.2455, allocations: 252.9 kB / 0.681 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2455, allocations: 4 kB / 0.681 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2455, allocations: 8.094 kB / 0.681 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.2456, allocations: 4 kB / 0.681 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.2458, allocations: 59.89 kB / 0.6811 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.2459, allocations: 7.984 kB / 0.6811 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.246, allocations: 23.83 kB / 0.6811 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.246, allocations: 8 kB / 0.6811 GB, free: 6.797 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.0001192/0.2462, allocations: 129.7 kB / 0.6813 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.2462, allocations: 19.81 kB / 0.6813 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.2467, allocations: 175.3 kB / 0.6815 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2467, allocations: 0 / 0.6815 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2467, allocations: 4 kB / 0.6815 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2467, allocations: 3.984 kB / 0.6815 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.247, allocations: 213.5 kB / 0.6817 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.247, allocations: 0 / 0.6817 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.2472, allocations: 39.84 kB / 0.6817 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2472, allocations: 4 kB / 0.6817 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2472, allocations: 0 / 0.6817 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2472, allocations: 0 / 0.6817 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2472, allocations: 0 / 0.6817 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.2477, allocations: 259.2 kB / 0.682 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.2477, allocations: 97 kB / 0.682 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2478, allocations: 0 / 0.682 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2479, allocations: 19.97 kB / 0.6821 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.2481, allocations: 11.88 kB / 0.6821 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2481, allocations: 3.984 kB / 0.6821 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001007/0.2482, allocations: 116 kB / 0.6822 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2482, allocations: 0 / 0.6822 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003396/0.2485, allocations: 72.2 kB / 0.6823 GB, free: 5.555 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.0003649/0.2489, allocations: 159.1 kB / 0.6824 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.2494, allocations: 167.8 kB / 0.6826 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2494, allocations: 0 / 0.6826 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.2496, allocations: 67.89 kB / 0.6826 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.25, allocations: 32.73 kB / 0.6827 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.2507, allocations: 261.1 kB / 0.6829 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.2511, allocations: 0.7006 MB / 0.6836 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.618e-05/0.2512, allocations: 17.08 kB / 0.6836 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.2513, allocations: 15.44 kB / 0.6836 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.2513, allocations: 7.875 kB / 0.6836 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of Templates: time 0.006769/0.258, allocations: 2.74 MB / 0.6863 GB, free: 1.363 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)