Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 194 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 74.34 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006326/0.2836, allocations: 4.583 MB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2847, allocations: 0.8186 MB / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.2848, allocations: 0 / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.285, allocations: 31.77 kB / 0.7887 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.2851, allocations: 31.7 kB / 0.7887 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.2856, allocations: 167.4 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.2857, allocations: 175.4 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.2858, allocations: 13.12 kB / 0.789 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.286, allocations: 87.62 kB / 0.7891 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2861, allocations: 79.72 kB / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.2862, allocations: 12 kB / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.2865, allocations: 151.8 kB / 0.7894 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.2865, allocations: 27.91 kB / 0.7894 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.2866, allocations: 75.64 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.287, allocations: 235.6 kB / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.287, allocations: 0 / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.287, allocations: 4 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.287, allocations: 3.984 kB / 0.7897 GB, free: 6.961 MB / 0.6075 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.0008415/0.2878, allocations: 478.9 kB / 0.7902 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2879, allocations: 12.02 kB / 0.7902 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.2879, allocations: 12.84 kB / 0.7902 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2881, allocations: 187.2 kB / 0.7904 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2881, allocations: 12.28 kB / 0.7904 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2881, allocations: 15.92 kB / 0.7904 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.2884, allocations: 118.5 kB / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2885, allocations: 0 / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2885, allocations: 4 kB / 0.7905 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2885, allocations: 4 kB / 0.7905 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.2889, allocations: 139.8 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009338/0.2899, allocations: 464.4 kB / 0.7911 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.2902, allocations: 126.5 kB / 0.7912 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.2904, allocations: 72.81 kB / 0.7913 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.2917, allocations: 0.9648 MB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2917, allocations: 42.44 kB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2917, allocations: 0 / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006584/0.2924, allocations: 205.5 kB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2924, allocations: 59.34 kB / 0.7925 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2926, allocations: 160.4 kB / 0.7927 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.2926, allocations: 33.7 kB / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.2927, allocations: 112.4 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.2927, allocations: 39.45 kB / 0.7928 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.2928, allocations: 53.64 kB / 0.7929 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2929, allocations: 318.8 kB / 0.7932 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.2931, allocations: 75.94 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.2934, allocations: 119.2 kB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.2939, allocations: 171.2 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2939, allocations: 4 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005574/0.2944, allocations: 247.5 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.2945, allocations: 10.44 kB / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2945, allocations: 0 / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2945, allocations: 4 kB / 0.7938 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2948, allocations: 56 kB / 0.7938 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2948, allocations: 4 kB / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2949, allocations: 31.75 kB / 0.7939 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.295, allocations: 8 kB / 0.7939 GB, free: 2.297 MB / 0.6075 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.758e-05/0.2951, allocations: 121.8 kB / 0.794 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.2951, allocations: 23.75 kB / 0.794 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.2956, allocations: 175.3 kB / 0.7942 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2956, allocations: 0 / 0.7942 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2956, allocations: 4 kB / 0.7942 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2957, allocations: 0 / 0.7942 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2959, allocations: 221.4 kB / 0.7944 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2959, allocations: 0 / 0.7944 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.296, allocations: 27.97 kB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2961, allocations: 11.88 kB / 0.7944 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.2961, allocations: 8 kB / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2961, allocations: 0 / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2961, allocations: 0 / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.2965, allocations: 251.3 kB / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.2966, allocations: 108.8 kB / 0.7948 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.2967, allocations: 0 / 0.7948 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2968, allocations: 15.98 kB / 0.7948 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.2969, allocations: 7.984 kB / 0.7948 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2969, allocations: 7.938 kB / 0.7948 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.769e-05/0.297, allocations: 114.1 kB / 0.7949 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 4 kB / 0.7949 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003339/0.2973, allocations: 60.06 kB / 0.795 GB, free: 1.059 MB / 0.6075 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.0003141/0.2976, allocations: 163.1 kB / 0.7952 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.2981, allocations: 183.7 kB / 0.7953 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2982, allocations: 0 / 0.7953 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.2984, allocations: 67.89 kB / 0.7954 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2987, allocations: 23.98 kB / 0.7954 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.2992, allocations: 245.4 kB / 0.7956 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2995, allocations: 0.7122 MB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.901e-05/0.2996, allocations: 24.56 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.2997, allocations: 15.44 kB / 0.7964 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2997, allocations: 0 / 0.7964 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.005532/0.3052, allocations: 2.726 MB / 0.799 GB, free: 12.88 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)