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.00153/0.00153, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.557/1.557, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.814/1.814, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001369/0.001368, allocations: 72.92 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006605/0.2855, allocations: 4.614 MB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2867, allocations: 0.8109 MB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.2868, allocations: 0 / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.287, allocations: 27.83 kB / 0.7882 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.2871, allocations: 23.78 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.2876, allocations: 155.5 kB / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.2878, allocations: 175.4 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.288, allocations: 17.11 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.2882, allocations: 87.62 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2883, allocations: 79.73 kB / 0.7887 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2883, allocations: 12 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.2886, allocations: 155.8 kB / 0.7889 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.2887, allocations: 31.91 kB / 0.7889 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.2888, allocations: 71.64 kB / 0.789 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.2891, allocations: 239.6 kB / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2891, allocations: 0 / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2891, allocations: 3.938 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2891, allocations: 0 / 0.7892 GB, free: 7.402 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.0008867/0.29, allocations: 482.9 kB / 0.7897 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2901, allocations: 12.03 kB / 0.7897 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.2901, allocations: 8.844 kB / 0.7897 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.2903, allocations: 179.3 kB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2903, allocations: 12.28 kB / 0.7899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.2904, allocations: 19.94 kB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.2907, allocations: 117.6 kB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2907, allocations: 3.938 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2907, allocations: 4 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2907, allocations: 4 kB / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.2911, allocations: 143.9 kB / 0.7901 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.2921, allocations: 464.4 kB / 0.7906 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.2924, allocations: 122.5 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2926, allocations: 76.75 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.2939, allocations: 0.9644 MB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.294, allocations: 38.5 kB / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.294, allocations: 0 / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006312/0.2946, allocations: 201.5 kB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.2947, allocations: 59.34 kB / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2948, allocations: 175.2 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2948, allocations: 29.7 kB / 0.7922 GB, free: 4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.2949, allocations: 108.4 kB / 0.7923 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.295, allocations: 43.39 kB / 0.7923 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.295, allocations: 49.69 kB / 0.7924 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2952, allocations: 326.8 kB / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.2954, allocations: 71.95 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2956, allocations: 115.3 kB / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.296, allocations: 175.2 kB / 0.793 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.296, allocations: 4 kB / 0.793 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005356/0.2966, allocations: 239.6 kB / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2966, allocations: 11.94 kB / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2966, allocations: 0 / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2967, allocations: 0 / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.2969, allocations: 63.89 kB / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.297, allocations: 0 / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.2971, allocations: 31.77 kB / 0.7934 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.2972, allocations: 4 kB / 0.7934 GB, free: 2.738 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 0.0001151/0.2973, allocations: 129.9 kB / 0.7935 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.2973, allocations: 15.75 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.2978, allocations: 179.3 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2978, allocations: 0 / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2978, allocations: 0 / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2978, allocations: 4 kB / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.2981, allocations: 221.4 kB / 0.7939 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2981, allocations: 0 / 0.7939 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2983, allocations: 35.86 kB / 0.7939 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2983, allocations: 3.938 kB / 0.7939 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2983, allocations: 3.984 kB / 0.7939 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2983, allocations: 0 / 0.7939 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2983, allocations: 4 kB / 0.7939 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.2987, allocations: 255.3 kB / 0.7942 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.2988, allocations: 100.8 kB / 0.7943 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.2989, allocations: 0 / 0.7943 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.299, allocations: 15.98 kB / 0.7943 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.299, allocations: 7.984 kB / 0.7943 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2991, allocations: 7.984 kB / 0.7943 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.548e-05/0.2992, allocations: 123.9 kB / 0.7944 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2992, allocations: 0 / 0.7944 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003547/0.2995, allocations: 64.3 kB / 0.7945 GB, free: 1.488 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.000338/0.2999, allocations: 155.2 kB / 0.7946 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.3004, allocations: 171.6 kB / 0.7948 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3004, allocations: 4 kB / 0.7948 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3006, allocations: 68.08 kB / 0.7949 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.301, allocations: 30.23 kB / 0.7949 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.3015, allocations: 297.2 kB / 0.7952 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3018, allocations: 0.7045 MB / 0.7959 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.3019, allocations: 21.08 kB / 0.7959 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.302, allocations: 19.38 kB / 0.7959 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.302, allocations: 0 / 0.7959 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.005595/0.3076, allocations: 2.621 MB / 0.7985 GB, free: 13.38 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)