Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001218/0.001218, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.439/1.439, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.935/1.935, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001607/0.001607, allocations: 71.91 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2742, allocations: 114.5 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002052/0.2763, allocations: 0.5995 MB / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.2789, allocations: 1.749 MB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.279, allocations: 0 / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.279, allocations: 7.875 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-06/0.2791, allocations: 0 / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.28, allocations: 309.9 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.2802, allocations: 115.9 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.2803, allocations: 11.98 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.2803, allocations: 35.98 kB / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2804, allocations: 59.86 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2805, allocations: 8 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/0.281, allocations: 339.5 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.2811, allocations: 39.95 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.2812, allocations: 43.72 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.2816, allocations: 275.4 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2817, allocations: 0 / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.556e-06/0.2817, allocations: 0 / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.2817, allocations: 0 / 0.7876 GB, free: 240 kB / 0.6544 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.574/0.8557, allocations: 435.6 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.8557, allocations: 9.188 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.8558, allocations: 13.09 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.8559, allocations: 168.9 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.8559, allocations: 12 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.856, allocations: 11.03 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.8563, allocations: 219.2 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.8563, allocations: 0 / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.8563, allocations: 10.59 kB / 0.7884 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.8564, allocations: 3.438 kB / 0.7884 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.8566, allocations: 179.2 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.8569, allocations: 276.7 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.8575, allocations: 411.9 kB / 0.7892 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.8577, allocations: 184.2 kB / 0.7894 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/0.8581, allocations: 191.7 kB / 0.7896 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.8581, allocations: 46.53 kB / 0.7896 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.8581, allocations: 0 / 0.7896 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006071/0.8588, allocations: 388.1 kB / 0.79 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.8588, allocations: 194.6 kB / 0.7902 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.2e-05/0.8589, allocations: 93.8 kB / 0.7903 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.8589, allocations: 30.8 kB / 0.7903 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.8589, allocations: 82.17 kB / 0.7904 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.859, allocations: 98.64 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.8591, allocations: 60.17 kB / 0.7905 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.8591, allocations: 327 kB / 0.7908 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.8593, allocations: 89.31 kB / 0.7909 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.8594, allocations: 138.2 kB / 0.7911 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.8597, allocations: 258.4 kB / 0.7913 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8597, allocations: 4.25 kB / 0.7913 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003748/0.8601, allocations: 286.6 kB / 0.7916 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8601, allocations: 5.25 kB / 0.7916 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8602, allocations: 2.625 kB / 0.7916 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.8602, allocations: 9.438 kB / 0.7916 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.8604, allocations: 59.03 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.8604, allocations: 6.781 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.8605, allocations: 17.03 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.8605, allocations: 8.531 kB / 0.7917 GB, free: 46.88 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.362e-05/0.8606, allocations: 134.9 kB / 0.7918 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.8607, allocations: 17.62 kB / 0.7918 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.8612, allocations: 365.7 kB / 0.7922 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.8612, allocations: 7.203 kB / 0.7922 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8612, allocations: 2.625 kB / 0.7922 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.8612, allocations: 4.828 kB / 0.7922 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.8614, allocations: 246 kB / 0.7924 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8614, allocations: 4.719 kB / 0.7924 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.8616, allocations: 57.19 kB / 0.7925 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8616, allocations: 3.281 kB / 0.7925 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.8617, allocations: 18 kB / 0.7925 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8617, allocations: 4.125 kB / 0.7925 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.8617, allocations: 6.688 kB / 0.7925 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.8621, allocations: 339.3 kB / 0.7928 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.8621, allocations: 97.55 kB / 0.7929 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.8621, allocations: 7.25 kB / 0.7929 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.8622, allocations: 10.94 kB / 0.793 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.8623, allocations: 24.81 kB / 0.793 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.8623, allocations: 15.39 kB / 0.793 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.626e-05/0.8623, allocations: 75.28 kB / 0.7931 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.61e-07/0.8623, allocations: 0 / 0.7931 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000388/0.8627, allocations: 96.72 kB / 0.7932 GB, free: 46.22 MB / 0.6544 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 (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.000464/0.8632, allocations: 204.2 kB / 0.7934 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.8636, allocations: 260.2 kB / 0.7936 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8636, allocations: 2.625 kB / 0.7936 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.8637, allocations: 138.3 kB / 0.7937 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.8639, allocations: 20.09 kB / 0.7938 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.8644, allocations: 348.2 kB / 0.7941 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.8645, allocations: 0.7204 MB / 0.7948 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000187/0.8647, allocations: 110.2 kB / 0.7949 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.8648, allocations: 29.61 kB / 0.7949 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.8648, allocations: 5.688 kB / 0.7949 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.005327/0.8701, allocations: 2.534 MB / 0.7974 GB, free: 45.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)