Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.587/2.587, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001536/0.001536, allocations: 190.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00117/0.00117, allocations: 93.95 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005466, allocations: 12.94 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2465, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005412/0.2519, allocations: 3.888 MB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2532, allocations: 0.7141 MB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.2533, allocations: 4 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2535, allocations: 15.89 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.2536, allocations: 39.86 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.2541, allocations: 139.6 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.2543, allocations: 107.8 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2544, allocations: 9.125 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.2546, allocations: 71.75 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.2548, allocations: 71.78 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.2548, allocations: 7.938 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.2553, allocations: 123.9 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.2553, allocations: 27.89 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.2554, allocations: 41.64 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.2557, allocations: 159.9 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2557, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2557, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2557, allocations: 0 / 0.9835 GB, free: 22.97 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.001072/0.2568, allocations: 472.8 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2569, allocations: 8.031 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.2569, allocations: 19.77 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2571, allocations: 186.9 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2571, allocations: 8 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.2571, allocations: 12 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.2576, allocations: 125.5 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2577, allocations: 0 / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2577, allocations: 4 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2577, allocations: 7.938 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.2584, allocations: 167.8 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2598, allocations: 468.5 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.2603, allocations: 134.5 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/0.2621, allocations: 0.9644 MB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2622, allocations: 34.56 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 3.416e-06/0.2622, allocations: 0 / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.001096/0.2633, allocations: 241.3 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2634, allocations: 51.41 kB / 0.9863 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2636, allocations: 176.1 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2636, allocations: 29.7 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.2637, allocations: 108.4 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.2637, allocations: 35.45 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.2638, allocations: 8 kB / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.2638, allocations: 318.8 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.2642, allocations: 87.95 kB / 0.987 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.2647, allocations: 120.7 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.2651, allocations: 95.86 kB / 0.9872 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2651, allocations: 0 / 0.9872 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009418/0.266, allocations: 273.1 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2661, allocations: 4 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2661, allocations: 7.938 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2661, allocations: 0 / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.2666, allocations: 63.89 kB / 0.9875 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2666, allocations: 0 / 0.9875 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.2669, allocations: 39.8 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.267, allocations: 12 kB / 0.9876 GB, free: 18.39 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 0.0001138/0.2671, allocations: 125.7 kB / 0.9877 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.2672, allocations: 11.81 kB / 0.9877 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007933/0.268, allocations: 199 kB / 0.9879 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.268, allocations: 0 / 0.9879 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.268, allocations: 0 / 0.9879 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.268, allocations: 7.922 kB / 0.9879 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.2683, allocations: 225.4 kB / 0.9881 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2683, allocations: 3.953 kB / 0.9881 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.2686, allocations: 43.92 kB / 0.9882 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2687, allocations: 0 / 0.9882 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2687, allocations: 11.92 kB / 0.9882 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2687, allocations: 0 / 0.9882 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2687, allocations: 0 / 0.9882 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.2694, allocations: 271.4 kB / 0.9884 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.2695, allocations: 100.9 kB / 0.9885 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.2696, allocations: 4 kB / 0.9885 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.2698, allocations: 15.98 kB / 0.9886 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.2699, allocations: 11.98 kB / 0.9886 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2699, allocations: 4 kB / 0.9886 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.041e-05/0.27, allocations: 116.9 kB / 0.9887 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.27, allocations: 4 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004657/0.2705, allocations: 64.3 kB / 0.9888 GB, free: 17.1 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.0003474/0.2709, allocations: 163.1 kB / 0.9889 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008225/0.2717, allocations: 187.9 kB / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2717, allocations: 0 / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.2721, allocations: 75.89 kB / 0.9892 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2725, allocations: 23.98 kB / 0.9892 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.2731, allocations: 361.6 kB / 0.9895 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2732, allocations: 0.7086 MB / 0.9902 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.2734, allocations: 27.83 kB / 0.9902 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.2735, allocations: 15.44 kB / 0.9903 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.2735, allocations: 0 / 0.9903 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.008038/0.2816, allocations: 2.468 MB / 0.9927 GB, free: 13.05 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)