Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.4 MB / 303.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001342, allocations: 183.8 kB / 372.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.0009369, allocations: 98.23 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004088, allocations: 17.75 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004008/0.2271, allocations: 4.097 MB / 0.9841 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.2278, allocations: 0.7607 MB / 0.9849 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.2279, allocations: 4 kB / 0.9849 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.228, allocations: 19.83 kB / 0.9849 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.2281, allocations: 23.78 kB / 0.9849 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.2285, allocations: 143.5 kB / 0.9851 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2286, allocations: 159.4 kB / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.2287, allocations: 17.11 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2288, allocations: 75.75 kB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.2289, allocations: 63.75 kB / 0.9854 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2289, allocations: 8 kB / 0.9854 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.2292, allocations: 131.8 kB / 0.9855 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.2292, allocations: 27.91 kB / 0.9855 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.2293, allocations: 85.42 kB / 0.9856 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2295, allocations: 163.8 kB / 0.9858 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2295, allocations: 4 kB / 0.9858 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2295, allocations: 0 / 0.9858 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2295, allocations: 4 kB / 0.9858 GB, free: 21.55 MB / 0.6198 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.0006903/0.2302, allocations: 474.9 kB / 0.9862 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2302, allocations: 12.03 kB / 0.9862 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.2303, allocations: 12.75 kB / 0.9862 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2304, allocations: 176.2 kB / 0.9864 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2304, allocations: 8.375 kB / 0.9864 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2304, allocations: 15.94 kB / 0.9864 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.2307, allocations: 131.2 kB / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2308, allocations: 0 / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2308, allocations: 0 / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2308, allocations: 7.938 kB / 0.9866 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.2312, allocations: 159.9 kB / 0.9867 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.232, allocations: 480.4 kB / 0.9872 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.2323, allocations: 138.5 kB / 0.9873 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2325, allocations: 80.75 kB / 0.9874 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.2336, allocations: 0.9606 MB / 0.9883 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.2336, allocations: 42.5 kB / 0.9884 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.2336, allocations: 0 / 0.9884 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005975/0.2342, allocations: 245.2 kB / 0.9886 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.2342, allocations: 55.41 kB / 0.9887 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2343, allocations: 161.2 kB / 0.9888 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2344, allocations: 29.7 kB / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.2344, allocations: 108.4 kB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.2344, allocations: 47.34 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.2345, allocations: 0 / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.2345, allocations: 330.8 kB / 0.9893 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2347, allocations: 83.94 kB / 0.9894 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.235, allocations: 117.1 kB / 0.9895 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.2354, allocations: 203.2 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2354, allocations: 4 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004713/0.2358, allocations: 249.4 kB / 0.9899 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2359, allocations: 7.938 kB / 0.9899 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2359, allocations: 0 / 0.9899 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2359, allocations: 4 kB / 0.9899 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.2362, allocations: 67.98 kB / 0.99 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2362, allocations: 4 kB / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.2363, allocations: 39.67 kB / 0.99 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2363, allocations: 4 kB / 0.99 GB, free: 16.8 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.2364, allocations: 133.8 kB / 0.9902 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2365, allocations: 15.83 kB / 0.9902 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.2369, allocations: 190.9 kB / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2369, allocations: 0 / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2369, allocations: 7.984 kB / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2369, allocations: 4 kB / 0.9904 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.2371, allocations: 217.5 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2371, allocations: 0 / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.2372, allocations: 47.89 kB / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2372, allocations: 3.938 kB / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2372, allocations: 0 / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2373, allocations: 0 / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2373, allocations: 3.938 kB / 0.9906 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.2376, allocations: 275.3 kB / 0.9909 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.2377, allocations: 100.8 kB / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.2377, allocations: 4 kB / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.2379, allocations: 27.97 kB / 0.991 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2379, allocations: 7.984 kB / 0.991 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2379, allocations: 4 kB / 0.991 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.238, allocations: 117.6 kB / 0.9912 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.238, allocations: 3.938 kB / 0.9912 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002779/0.2383, allocations: 64.31 kB / 0.9912 GB, free: 15.5 MB / 0.6198 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 (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.0002414/0.2385, allocations: 161.3 kB / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.239, allocations: 196.3 kB / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.239, allocations: 0 / 0.9916 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.2392, allocations: 84.06 kB / 0.9916 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2395, allocations: 19.78 kB / 0.9917 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.2399, allocations: 373.5 kB / 0.992 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2401, allocations: 0.7047 MB / 0.9927 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.402e-05/0.2402, allocations: 21.02 kB / 0.9927 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.2402, allocations: 15.44 kB / 0.9927 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2402, allocations: 0 / 0.9927 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.004485/0.2447, allocations: 2.484 MB / 0.9952 GB, free: 11.43 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)