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 1.685/1.685, allocations: 287.5 MB / 302.6 MB, free: 8.172 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.0009696/0.0009695, allocations: 182.2 kB / 371.2 MB, free: 10.83 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.514/1.514, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007816/0.0007816, allocations: 93.28 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005148/0.0005148, allocations: 12.53 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007671/0.2346, allocations: 330.5 kB / 0.979 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.2369, allocations: 1.692 MB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.237, allocations: 0 / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.237, allocations: 0 / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-06/0.237, allocations: 0 / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2381, allocations: 243.9 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.2382, allocations: 95.88 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.2383, allocations: 7.984 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.2383, allocations: 43.91 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2384, allocations: 55.94 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.2385, allocations: 8 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005368/0.239, allocations: 266.3 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.2391, allocations: 43.83 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.2391, allocations: 45.58 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.2395, allocations: 171.7 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2395, allocations: 4 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2395, allocations: 0 / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2395, allocations: 0 / 0.9816 GB, free: 25.21 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.0005725/0.2401, allocations: 423.6 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2401, allocations: 8.031 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.2402, allocations: 8.844 kB / 0.982 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.2403, allocations: 176.3 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2403, allocations: 11.94 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.2403, allocations: 8 kB / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2406, allocations: 223.2 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2406, allocations: 3.938 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.2407, allocations: 8 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2407, allocations: 0 / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.2409, allocations: 179.8 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.2412, allocations: 285.9 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.2418, allocations: 415.8 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.242, allocations: 173.2 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.2423, allocations: 199.1 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.2424, allocations: 42.56 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.2424, allocations: 3.938 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005975/0.243, allocations: 385.2 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.243, allocations: 183.9 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.967e-05/0.2431, allocations: 89.86 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2431, allocations: 37.7 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.242e-05/0.2431, allocations: 84.69 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/0.2432, allocations: 98.55 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.2432, allocations: 4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.2433, allocations: 318.8 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2434, allocations: 87.92 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2435, allocations: 145 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.2438, allocations: 254.5 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2438, allocations: 3.938 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003617/0.2442, allocations: 285.3 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2442, allocations: 8 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2443, allocations: 3.984 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2443, allocations: 4 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2445, allocations: 56.28 kB / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2445, allocations: 4 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.2446, allocations: 27.73 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.2446, allocations: 12 kB / 0.9857 GB, free: 20.62 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 9.304e-05/0.2447, allocations: 141.6 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.2448, allocations: 15.89 kB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.2453, allocations: 352.8 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2453, allocations: 8 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2453, allocations: 0 / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2453, allocations: 7.984 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2455, allocations: 257.3 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2455, allocations: 0 / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.2457, allocations: 55.91 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2457, allocations: 0 / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2458, allocations: 15.98 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2458, allocations: 0 / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.2458, allocations: 4 kB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.2461, allocations: 349.3 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.2462, allocations: 92.94 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.2462, allocations: 11.94 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.2463, allocations: 8 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.2463, allocations: 23.97 kB / 0.9869 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2464, allocations: 15.98 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.228e-05/0.2464, allocations: 75.39 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2464, allocations: 0 / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003573/0.2468, allocations: 91.94 kB / 0.9871 GB, free: 19.02 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.0004797/0.2472, allocations: 224.5 kB / 0.9873 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.2476, allocations: 239.7 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2476, allocations: 4 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.2478, allocations: 141 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.2479, allocations: 14.23 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.2484, allocations: 384.5 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2486, allocations: 0.709 MB / 0.9888 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.2488, allocations: 113.4 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.2489, allocations: 23.42 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.2489, allocations: 3.938 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.004921/0.2538, allocations: 2.438 MB / 0.9913 GB, free: 14.68 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)