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.001191/0.001198, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.0009896/0.0009898, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.661/1.661, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.802/1.802, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001458/0.001458, allocations: 67.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2567, allocations: 114.5 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001926/0.2587, allocations: 0.5932 MB / 0.7846 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.2612, allocations: 1.749 MB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.2613, allocations: 0 / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.2614, allocations: 7.938 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-06/0.2614, allocations: 3.938 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009766/0.2623, allocations: 309.6 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.2625, allocations: 119.9 kB / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.2626, allocations: 0 / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.2626, allocations: 47.95 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2627, allocations: 59.86 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2628, allocations: 8 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.2632, allocations: 283.7 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.2632, allocations: 39.95 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.2633, allocations: 47.72 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.2637, allocations: 275.4 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2637, allocations: 4 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2637, allocations: 0 / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2637, allocations: 0 / 0.7875 GB, free: 364 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.4846/0.7483, allocations: 432.8 kB / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7483, allocations: 10.41 kB / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.87e-05/0.7484, allocations: 9.969 kB / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.7485, allocations: 171.5 kB / 0.7881 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.7486, allocations: 8.438 kB / 0.7881 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.7486, allocations: 15.66 kB / 0.7881 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.7489, allocations: 214.1 kB / 0.7883 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.7489, allocations: 0 / 0.7883 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.749, allocations: 12.16 kB / 0.7883 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.749, allocations: 2.406 kB / 0.7883 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.7493, allocations: 175.9 kB / 0.7885 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.7495, allocations: 287 kB / 0.7888 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.7502, allocations: 408.1 kB / 0.7891 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.7504, allocations: 176.6 kB / 0.7893 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/0.7508, allocations: 201.5 kB / 0.7895 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.7509, allocations: 43.97 kB / 0.7895 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.7509, allocations: 0 / 0.7895 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.0006247/0.7515, allocations: 382.8 kB / 0.7899 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.7516, allocations: 192.6 kB / 0.7901 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.562e-05/0.7516, allocations: 92.86 kB / 0.7902 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.7516, allocations: 29.64 kB / 0.7902 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.7517, allocations: 84.86 kB / 0.7903 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/0.7517, allocations: 97.95 kB / 0.7904 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.7518, allocations: 60.52 kB / 0.7904 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.7519, allocations: 326.4 kB / 0.7908 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.752, allocations: 90.5 kB / 0.7908 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.7522, allocations: 135.5 kB / 0.791 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.7525, allocations: 262.9 kB / 0.7912 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7525, allocations: 1.156 kB / 0.7912 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003748/0.7529, allocations: 290.2 kB / 0.7915 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7529, allocations: 5.25 kB / 0.7915 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7529, allocations: 3.844 kB / 0.7915 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.753, allocations: 6.562 kB / 0.7915 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.7532, allocations: 58.75 kB / 0.7916 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7532, allocations: 4.859 kB / 0.7916 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-05/0.7533, allocations: 20.44 kB / 0.7916 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.7533, allocations: 16.19 kB / 0.7916 GB, free: 47.48 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 9.178e-05/0.7534, allocations: 132.5 kB / 0.7917 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.7535, allocations: 18.38 kB / 0.7917 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005494/0.754, allocations: 356.9 kB / 0.7921 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.754, allocations: 6 kB / 0.7921 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7541, allocations: 2.75 kB / 0.7921 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.7541, allocations: 5.953 kB / 0.7921 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.7543, allocations: 253.5 kB / 0.7923 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.7543, allocations: 0 / 0.7923 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.7545, allocations: 59.17 kB / 0.7924 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7545, allocations: 0 / 0.7924 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.7545, allocations: 18.28 kB / 0.7924 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7545, allocations: 3.469 kB / 0.7924 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7545, allocations: 2.969 kB / 0.7924 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.755, allocations: 351.2 kB / 0.7928 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.755, allocations: 88.33 kB / 0.7928 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.755, allocations: 16.84 kB / 0.7929 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.7551, allocations: 5.812 kB / 0.7929 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.7552, allocations: 25.33 kB / 0.7929 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.7552, allocations: 19.62 kB / 0.7929 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.984e-05/0.7552, allocations: 75.28 kB / 0.793 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.593e-06/0.7552, allocations: 0 / 0.793 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004084/0.7557, allocations: 96.66 kB / 0.7931 GB, free: 46.83 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.0005088/0.7562, allocations: 210 kB / 0.7933 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.7566, allocations: 271.9 kB / 0.7935 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7566, allocations: 0 / 0.7935 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.7568, allocations: 142.1 kB / 0.7937 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.7569, allocations: 17.94 kB / 0.7937 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.7575, allocations: 383.9 kB / 0.7941 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.7576, allocations: 0.7151 MB / 0.7948 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.7577, allocations: 34.77 kB / 0.7948 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.7577, allocations: 0 / 0.7948 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.00465/0.7624, allocations: 2.875 MB / 0.7976 GB, free: 45.66 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)