Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.696/2.696, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001583/0.001584, allocations: 190.2 kB / 370.8 MB, free: 10.85 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.032/2.032, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001144/0.001144, allocations: 84.03 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.0006608, allocations: 12.44 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2149, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007736/0.2157, allocations: 328.8 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.2183, allocations: 1.647 MB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.2184, allocations: 0 / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.2184, allocations: 3.984 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-06/0.2184, allocations: 0 / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2195, allocations: 235.1 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2196, allocations: 83.88 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.2197, allocations: 4 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.2197, allocations: 39.97 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2199, allocations: 55.86 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.2199, allocations: 12 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.2205, allocations: 251.6 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.2205, allocations: 43.89 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2206, allocations: 37.64 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.2209, allocations: 175.7 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2209, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2209, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.2209, allocations: 0 / 0.981 GB, free: 25.46 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.0007216/0.2217, allocations: 425.1 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2217, allocations: 12.03 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.2218, allocations: 7.906 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.949e-05/0.2218, allocations: 174.9 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2219, allocations: 12 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.2219, allocations: 12 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.2224, allocations: 219.1 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2224, allocations: 0 / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.2224, allocations: 8 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2224, allocations: 7.984 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.2228, allocations: 175.8 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.2232, allocations: 286 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2242, allocations: 411.8 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/0.2246, allocations: 195.3 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2246, allocations: 46.5 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.706e-06/0.2247, allocations: 4 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0009384/0.2256, allocations: 377.2 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.2257, allocations: 187.9 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.872e-05/0.2257, allocations: 89.86 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.2258, allocations: 33.7 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.2258, allocations: 80.7 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2259, allocations: 102.5 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.2259, allocations: 4 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.226, allocations: 330.8 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.2262, allocations: 79.94 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2265, allocations: 137 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.2268, allocations: 117.4 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2268, allocations: 0 / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006441/0.2274, allocations: 285.3 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2275, allocations: 10.19 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2275, allocations: 0 / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2275, allocations: 4 kB / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.228, allocations: 55.89 kB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.228, allocations: 4 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.2282, allocations: 19.75 kB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.2282, allocations: 19.92 kB / 0.9848 GB, free: 21.23 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 0.0001526/0.2284, allocations: 141.7 kB / 0.9849 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.2284, allocations: 15.91 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/0.2293, allocations: 361.1 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2293, allocations: 7.984 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2293, allocations: 4 kB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.2293, allocations: 0 / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.2296, allocations: 257.4 kB / 0.9855 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2297, allocations: 0 / 0.9855 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.2301, allocations: 59.89 kB / 0.9856 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.2301, allocations: 0 / 0.9856 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2302, allocations: 16 kB / 0.9856 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2302, allocations: 0 / 0.9856 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2302, allocations: 7.984 kB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.2308, allocations: 393.7 kB / 0.986 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.2309, allocations: 92.95 kB / 0.9861 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.2309, allocations: 7.953 kB / 0.9861 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2311, allocations: 8 kB / 0.9861 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.2312, allocations: 27.97 kB / 0.9861 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.2312, allocations: 12.3 kB / 0.9861 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.748e-05/0.2313, allocations: 75.28 kB / 0.9862 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2313, allocations: 0 / 0.9862 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005425/0.2318, allocations: 95.98 kB / 0.9863 GB, free: 19.54 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.0006495/0.2325, allocations: 210.8 kB / 0.9865 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005943/0.2331, allocations: 251.7 kB / 0.9867 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2331, allocations: 0 / 0.9867 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.2334, allocations: 135.8 kB / 0.9869 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.2336, allocations: 11.95 kB / 0.9869 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.2343, allocations: 384.5 kB / 0.9872 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2345, allocations: 0.7258 MB / 0.9879 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003987/0.2349, allocations: 109.4 kB / 0.9881 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.235, allocations: 23.42 kB / 0.9881 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.235, allocations: 0 / 0.9881 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.007114/0.2421, allocations: 2.43 MB / 0.9904 GB, free: 15.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)