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.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.554/1.554, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.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.736/1.736, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001531/0.001531, allocations: 83.84 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3059, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002056/0.308, allocations: 0.5916 MB / 0.784 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.3107, allocations: 1.75 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.3107, allocations: 4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.3108, allocations: 7.922 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-06/0.3108, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.3118, allocations: 294.5 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3119, allocations: 123.8 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.312, allocations: 11.94 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.3121, allocations: 35.97 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3122, allocations: 63.91 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3122, allocations: 4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.3127, allocations: 290.5 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.3128, allocations: 39.89 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.3129, allocations: 51.72 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.3132, allocations: 271.5 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3133, allocations: 0 / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3133, allocations: 0 / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3133, allocations: 0 / 0.7868 GB, free: 9.953 MB / 0.6075 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.0007307/0.314, allocations: 439.3 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3141, allocations: 12.03 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.3141, allocations: 8.844 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3143, allocations: 176.2 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.3143, allocations: 11.94 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.3143, allocations: 12 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.3147, allocations: 218.6 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3147, allocations: 4 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.3147, allocations: 8 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3147, allocations: 4 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.315, allocations: 175.8 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.3154, allocations: 289.9 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.3161, allocations: 407.8 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.3164, allocations: 189.1 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/0.3168, allocations: 195.2 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.3168, allocations: 38.56 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.3168, allocations: 4 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.00068/0.3175, allocations: 390.3 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.3176, allocations: 187.9 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.3177, allocations: 89.86 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.3177, allocations: 33.7 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.3178, allocations: 80.7 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3179, allocations: 98.55 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.318, allocations: 57.62 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3181, allocations: 326.8 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3183, allocations: 91.92 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3184, allocations: 129.4 kB / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3188, allocations: 269 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3188, allocations: 3.938 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004309/0.3192, allocations: 285.3 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3193, allocations: 4 kB / 0.7909 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3193, allocations: 3.938 kB / 0.7909 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.3193, allocations: 4 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.3195, allocations: 63.89 kB / 0.7909 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3196, allocations: 0 / 0.7909 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.3197, allocations: 23.69 kB / 0.7909 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3197, allocations: 11.98 kB / 0.791 GB, free: 5.277 MB / 0.6075 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 0.0001183/0.3198, allocations: 145.7 kB / 0.7911 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3199, allocations: 11.91 kB / 0.7911 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.3205, allocations: 365.3 kB / 0.7915 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.3205, allocations: 4 kB / 0.7915 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3205, allocations: 0 / 0.7915 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.3205, allocations: 4 kB / 0.7915 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.3208, allocations: 253.3 kB / 0.7917 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3208, allocations: 0 / 0.7917 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.321, allocations: 67.89 kB / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.321, allocations: 0 / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.3211, allocations: 11.98 kB / 0.7918 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3211, allocations: 4 kB / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3211, allocations: 0 / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.3215, allocations: 345.5 kB / 0.7921 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.3216, allocations: 92.95 kB / 0.7922 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.3216, allocations: 4 kB / 0.7922 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.3217, allocations: 8 kB / 0.7922 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.3218, allocations: 27.95 kB / 0.7922 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3218, allocations: 12 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.3218, allocations: 79.33 kB / 0.7923 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3218, allocations: 4 kB / 0.7923 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004237/0.3223, allocations: 103.9 kB / 0.7924 GB, free: 3.648 MB / 0.6075 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.0004974/0.3228, allocations: 213.1 kB / 0.7926 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.3232, allocations: 279.8 kB / 0.7929 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3232, allocations: 0 / 0.7929 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.3234, allocations: 139.8 kB / 0.793 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.3236, allocations: 18.5 kB / 0.7931 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.3242, allocations: 350.4 kB / 0.7934 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3245, allocations: 0.7085 MB / 0.7941 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.3247, allocations: 109.4 kB / 0.7942 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.3248, allocations: 31.42 kB / 0.7942 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.3248, allocations: 0 / 0.7942 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.006218/0.331, allocations: 2.549 MB / 0.7967 GB, free: 15.2 MB / 0.6231 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)