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.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001888/0.001888, allocations: 193 kB / 16.13 MB, free: 6.652 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.546/1.546, allocations: 205.1 MB / 222 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.769/1.769, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001337/0.001337, allocations: 66.75 kB / 0.6708 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2549, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005984/0.2609, allocations: 4.606 MB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.262, allocations: 0.8382 MB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.2621, allocations: 0 / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.2623, allocations: 31.83 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.2624, allocations: 27.77 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.2628, allocations: 143.5 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.263, allocations: 167.4 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.2631, allocations: 13.12 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.2633, allocations: 79.62 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.2634, allocations: 75.72 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.2634, allocations: 8 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2637, allocations: 139.8 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.2637, allocations: 31.89 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.2638, allocations: 63.66 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.2641, allocations: 239.5 kB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2642, allocations: 0 / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2642, allocations: 0 / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2642, allocations: 0 / 0.789 GB, free: 7.523 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.0008845/0.2651, allocations: 478.9 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2651, allocations: 8.031 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.2652, allocations: 12.84 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2653, allocations: 183.1 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2653, allocations: 12.28 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.2654, allocations: 15.94 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.2657, allocations: 117.5 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2657, allocations: 4 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2658, allocations: 4 kB / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2658, allocations: 0 / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.2662, allocations: 139.9 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000974/0.2672, allocations: 472.4 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.2675, allocations: 122.5 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2677, allocations: 79.88 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.269, allocations: 0.9726 MB / 0.7915 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2691, allocations: 34.5 kB / 0.7915 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.2691, allocations: 0 / 0.7915 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006421/0.2697, allocations: 209.8 kB / 0.7917 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2698, allocations: 59.28 kB / 0.7918 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2699, allocations: 172.3 kB / 0.7919 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2699, allocations: 29.7 kB / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.27, allocations: 112.4 kB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.2701, allocations: 31.47 kB / 0.7921 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.2702, allocations: 53.69 kB / 0.7922 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2703, allocations: 322.8 kB / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.2705, allocations: 75.94 kB / 0.7925 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.2707, allocations: 110.7 kB / 0.7926 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.2711, allocations: 167.2 kB / 0.7928 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2711, allocations: 4 kB / 0.7928 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005931/0.2717, allocations: 243.8 kB / 0.793 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2718, allocations: 7.938 kB / 0.7931 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2718, allocations: 0 / 0.7931 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2718, allocations: 4 kB / 0.7931 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2721, allocations: 59.98 kB / 0.7931 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2721, allocations: 4 kB / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.2723, allocations: 27.77 kB / 0.7931 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2723, allocations: 16 kB / 0.7932 GB, free: 2.859 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.0001033/0.2724, allocations: 121.8 kB / 0.7933 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2725, allocations: 19.75 kB / 0.7933 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.273, allocations: 179 kB / 0.7935 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.273, allocations: 4 kB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.273, allocations: 0 / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2731, allocations: 3.984 kB / 0.7935 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.2733, allocations: 225.4 kB / 0.7937 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2733, allocations: 0 / 0.7937 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.2735, allocations: 31.92 kB / 0.7937 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2735, allocations: 11.94 kB / 0.7937 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2735, allocations: 3.984 kB / 0.7937 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2735, allocations: 0 / 0.7937 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2735, allocations: 0 / 0.7937 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.274, allocations: 247.3 kB / 0.794 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.2741, allocations: 108.8 kB / 0.7941 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.2741, allocations: 4 kB / 0.7941 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2742, allocations: 15.92 kB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.2743, allocations: 11.98 kB / 0.7941 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2743, allocations: 3.984 kB / 0.7941 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.988e-05/0.2744, allocations: 112 kB / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2744, allocations: 0 / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003435/0.2748, allocations: 64.05 kB / 0.7943 GB, free: 1.613 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.0002975/0.2751, allocations: 155.2 kB / 0.7944 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.2756, allocations: 175.6 kB / 0.7946 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2756, allocations: 0 / 0.7946 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.2758, allocations: 71.89 kB / 0.7947 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.2763, allocations: 19.98 kB / 0.7947 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.2768, allocations: 287.1 kB / 0.795 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2772, allocations: 0.7087 MB / 0.7956 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.2773, allocations: 21.45 kB / 0.7957 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.2774, allocations: 19.44 kB / 0.7957 GB, free: 112 kB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2774, allocations: 0 / 0.7957 GB, free: 112 kB / 0.6075 GB Notification: Performance of Templates: time 0.005916/0.2833, allocations: 2.554 MB / 0.7982 GB, free: 13.58 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)