Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 303.7 MB, free: 8.082 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.001406/0.001406, allocations: 170.4 kB / 372.3 MB, free: 10.1 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.573/1.573, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0008381/0.0008381, allocations: 90.92 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004106, allocations: 17.12 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2602, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008381/0.261, allocations: 322.8 kB / 0.9805 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.2632, allocations: 1.693 MB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.2633, allocations: 3.938 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.2633, allocations: 0 / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-06/0.2633, allocations: 0 / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.2642, allocations: 242.4 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2643, allocations: 111.9 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.2644, allocations: 3.938 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.2644, allocations: 39.97 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2645, allocations: 63.86 kB / 0.9826 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2645, allocations: 4 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.2649, allocations: 266.3 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.265, allocations: 35.91 kB / 0.9828 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.265, allocations: 69.48 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.2652, allocations: 183.7 kB / 0.9831 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2653, allocations: 0 / 0.9831 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2653, allocations: 4 kB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2653, allocations: 0 / 0.9831 GB, free: 24.27 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005269/0.2658, allocations: 415.6 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2659, allocations: 8.031 kB / 0.9835 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.2659, allocations: 12.84 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.266, allocations: 172.2 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.266, allocations: 15.94 kB / 0.9837 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.266, allocations: 12 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.2663, allocations: 219.1 kB / 0.9839 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2664, allocations: 0 / 0.9839 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.2664, allocations: 8 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2664, allocations: 4 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.2666, allocations: 175.8 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.2669, allocations: 286 kB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.2675, allocations: 403.8 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2677, allocations: 189 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/0.268, allocations: 203.2 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.268, allocations: 38.56 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.268, allocations: 0 / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005328/0.2686, allocations: 377.2 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.2686, allocations: 191.9 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.201e-05/0.2687, allocations: 93.84 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2687, allocations: 29.7 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.2687, allocations: 80.7 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.2688, allocations: 102.5 kB / 0.986 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.2688, allocations: 8 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.2689, allocations: 322.8 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.269, allocations: 83.94 kB / 0.9864 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2691, allocations: 149 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.2694, allocations: 254.5 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2694, allocations: 3.938 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000333/0.2698, allocations: 285.6 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2698, allocations: 8 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2698, allocations: 8.062 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2698, allocations: 4 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.27, allocations: 51.91 kB / 0.9871 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.27, allocations: 4 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.2701, allocations: 23.73 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2702, allocations: 8 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 8.484e-05/0.2703, allocations: 145.7 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.2703, allocations: 11.91 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.2708, allocations: 364.7 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2708, allocations: 4 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2708, allocations: 4 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2708, allocations: 3.984 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.271, allocations: 253.3 kB / 0.9879 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.271, allocations: 0 / 0.9879 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.2712, allocations: 59.91 kB / 0.988 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2712, allocations: 4 kB / 0.988 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.2712, allocations: 12.36 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2713, allocations: 8 kB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2713, allocations: 7.938 kB / 0.988 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.2716, allocations: 337 kB / 0.9883 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.2717, allocations: 104.9 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.2717, allocations: 4 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.2718, allocations: 4 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.2719, allocations: 23.97 kB / 0.9884 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2719, allocations: 19.92 kB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.925e-05/0.2719, allocations: 75.28 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2719, allocations: 0 / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003489/0.2723, allocations: 99.92 kB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0005029/0.2728, allocations: 208.3 kB / 0.9888 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.2731, allocations: 247.7 kB / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2731, allocations: 0 / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.2733, allocations: 140.7 kB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.2735, allocations: 19.98 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.274, allocations: 369.1 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.2742, allocations: 0.7205 MB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.2744, allocations: 113.4 kB / 0.9904 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.2744, allocations: 27.42 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2744, allocations: 7.875 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.004659/0.2791, allocations: 2.445 MB / 0.9928 GB, free: 13.72 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)