Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 176.9 kB / 327.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.5786 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008211/0.000821, allocations: 95.84 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 12.09 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 106.3 MB / 0.9015 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00404/0.2286, allocations: 4.25 MB / 0.9056 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000743/0.2294, allocations: 0.8149 MB / 0.9064 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.2295, allocations: 0 / 0.9064 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.2296, allocations: 27.83 kB / 0.9064 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.2297, allocations: 27.77 kB / 0.9065 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.2301, allocations: 147.5 kB / 0.9066 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2302, allocations: 159.4 kB / 0.9067 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.2303, allocations: 29.03 kB / 0.9068 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2305, allocations: 75.69 kB / 0.9068 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.2305, allocations: 67.69 kB / 0.9069 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.2306, allocations: 11.98 kB / 0.9069 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.2308, allocations: 143.8 kB / 0.9071 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.2309, allocations: 23.91 kB / 0.9071 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.2309, allocations: 89.36 kB / 0.9072 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2311, allocations: 163.9 kB / 0.9073 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2312, allocations: 0 / 0.9073 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2312, allocations: 4 kB / 0.9073 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2312, allocations: 0 / 0.9073 GB, free: 57.8 MB / 0.6042 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.0006782/0.2319, allocations: 468.9 kB / 0.9078 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2319, allocations: 8.031 kB / 0.9078 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.2319, allocations: 16.78 kB / 0.9078 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.284e-05/0.232, allocations: 186.2 kB / 0.908 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2321, allocations: 8.375 kB / 0.908 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.2321, allocations: 8.375 kB / 0.908 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.2324, allocations: 133.7 kB / 0.9081 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.2324, allocations: 0 / 0.9081 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2324, allocations: 8 kB / 0.9081 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.2324, allocations: 3.938 kB / 0.9081 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2328, allocations: 167.8 kB / 0.9083 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.2336, allocations: 468.5 kB / 0.9087 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.2339, allocations: 134.5 kB / 0.9089 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.2341, allocations: 80.81 kB / 0.9089 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.2352, allocations: 0.9686 MB / 0.9099 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.2352, allocations: 38.56 kB / 0.9099 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2352, allocations: 0 / 0.9099 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006045/0.2358, allocations: 241.3 kB / 0.9102 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.2359, allocations: 59.41 kB / 0.9102 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.236, allocations: 158.1 kB / 0.9104 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.236, allocations: 37.69 kB / 0.9104 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.236, allocations: 112.3 kB / 0.9105 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.2361, allocations: 39.45 kB / 0.9105 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.2361, allocations: 0 / 0.9105 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.2361, allocations: 326.8 kB / 0.9109 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.2363, allocations: 91.88 kB / 0.9109 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.2365, allocations: 120 kB / 0.9111 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.2369, allocations: 198.7 kB / 0.9112 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2369, allocations: 0 / 0.9112 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004798/0.2374, allocations: 257.2 kB / 0.9115 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2374, allocations: 8 kB / 0.9115 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2374, allocations: 7.922 kB / 0.9115 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2375, allocations: 8.031 kB / 0.9115 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.2377, allocations: 63.91 kB / 0.9116 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2377, allocations: 0 / 0.9116 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2379, allocations: 31.83 kB / 0.9116 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2379, allocations: 11.98 kB / 0.9116 GB, free: 53.04 MB / 0.6042 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 9.198e-05/0.238, allocations: 129.7 kB / 0.9117 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.238, allocations: 11.81 kB / 0.9118 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.2385, allocations: 207.2 kB / 0.912 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2385, allocations: 0 / 0.912 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2385, allocations: 0 / 0.912 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2385, allocations: 0 / 0.912 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2387, allocations: 217.6 kB / 0.9122 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2387, allocations: 0 / 0.9122 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2388, allocations: 39.91 kB / 0.9122 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2389, allocations: 0 / 0.9122 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2389, allocations: 7.938 kB / 0.9122 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2389, allocations: 3.984 kB / 0.9122 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2389, allocations: 0 / 0.9122 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.2393, allocations: 283.2 kB / 0.9125 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.2393, allocations: 100.9 kB / 0.9126 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2393, allocations: 11.94 kB / 0.9126 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2395, allocations: 19.98 kB / 0.9126 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.2395, allocations: 7.984 kB / 0.9126 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.2395, allocations: 0 / 0.9126 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.2396, allocations: 120.9 kB / 0.9127 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2396, allocations: 0 / 0.9127 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002714/0.2399, allocations: 60.02 kB / 0.9128 GB, free: 51.73 MB / 0.6042 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.0002299/0.2401, allocations: 163.1 kB / 0.9129 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.2406, allocations: 195.8 kB / 0.9131 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2406, allocations: 192 / 0.9131 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2407, allocations: 79.89 kB / 0.9132 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2411, allocations: 21.75 kB / 0.9132 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.2414, allocations: 323.8 kB / 0.9135 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2416, allocations: 0.7048 MB / 0.9142 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.2416, allocations: 19.44 kB / 0.9142 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2416, allocations: 0 / 0.9142 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.003309/0.2449, allocations: 2.525 MB / 0.9167 GB, free: 47.68 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)