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.001374/0.00138, allocations: 109.4 kB / 15.69 MB, free: 128 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.001863/0.001863, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.794/1.794, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001459/0.00146, allocations: 81 kB / 0.6723 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3488, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.003894/0.3528, allocations: 0.6004 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004583/0.3574, allocations: 1.745 MB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.3575, allocations: 0 / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.3576, allocations: 7.984 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.67e-05/0.3576, allocations: 3.938 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.3595, allocations: 302.6 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.3598, allocations: 123.8 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/0.3598, allocations: 4 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.3599, allocations: 43.95 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.3602, allocations: 51.94 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.3602, allocations: 4 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009838/0.3612, allocations: 348.8 kB / 0.7873 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.3613, allocations: 35.91 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3614, allocations: 51.7 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.3622, allocations: 263.5 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.3622, allocations: 7.938 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3622, allocations: 4 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3622, allocations: 0 / 0.7876 GB, free: 9.148 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.001177/0.3634, allocations: 439.3 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/0.3635, allocations: 12.03 kB / 0.788 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3636, allocations: 8.844 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3638, allocations: 168.3 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.3639, allocations: 19.88 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.364, allocations: 12 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.3646, allocations: 222.6 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3646, allocations: 0 / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3647, allocations: 4 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3647, allocations: 11.94 kB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.3652, allocations: 175.8 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3658, allocations: 281.9 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.3671, allocations: 415.8 kB / 0.7893 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.3676, allocations: 185.2 kB / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/0.3681, allocations: 191.2 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.3682, allocations: 42.5 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 2.946e-06/0.3682, allocations: 0 / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.001245/0.3695, allocations: 394.4 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.3696, allocations: 187.9 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.407e-05/0.3697, allocations: 89.86 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3697, allocations: 29.7 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.3698, allocations: 80.7 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.37, allocations: 102.5 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.3701, allocations: 53.69 kB / 0.7906 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3703, allocations: 326.8 kB / 0.7909 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.3706, allocations: 87.92 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.3709, allocations: 141 kB / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.3716, allocations: 257.3 kB / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.3716, allocations: 3.938 kB / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008249/0.3725, allocations: 285.3 kB / 0.7916 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3725, allocations: 12 kB / 0.7917 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3725, allocations: 3.938 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/0.3726, allocations: 4 kB / 0.7917 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.373, allocations: 55.89 kB / 0.7917 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.3731, allocations: 4 kB / 0.7917 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3733, allocations: 24.06 kB / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.3733, allocations: 15.98 kB / 0.7918 GB, free: 4.473 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.0001898/0.3735, allocations: 137.7 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.3736, allocations: 15.91 kB / 0.7919 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3747, allocations: 356.8 kB / 0.7922 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.3747, allocations: 8 kB / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3747, allocations: 0 / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.3748, allocations: 0 / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.3752, allocations: 257.3 kB / 0.7925 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.3752, allocations: 4 kB / 0.7925 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.3756, allocations: 55.89 kB / 0.7926 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.3757, allocations: 4 kB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.3757, allocations: 15.98 kB / 0.7926 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.3757, allocations: 7.938 kB / 0.7926 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3758, allocations: 0 / 0.7926 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.3766, allocations: 349.8 kB / 0.7929 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.3767, allocations: 92.95 kB / 0.793 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.3767, allocations: 8 kB / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3769, allocations: 8 kB / 0.793 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.377, allocations: 23.97 kB / 0.793 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.3771, allocations: 11.98 kB / 0.7931 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.3771, allocations: 75.39 kB / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3771, allocations: 0 / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000741/0.3779, allocations: 95.86 kB / 0.7932 GB, free: 2.859 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.0008902/0.3788, allocations: 215.5 kB / 0.7934 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008101/0.3796, allocations: 267.9 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3796, allocations: 0 / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.38, allocations: 139.8 kB / 0.7938 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.3803, allocations: 18.34 kB / 0.7938 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.3814, allocations: 351.9 kB / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.3818, allocations: 0.7124 MB / 0.7949 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004446/0.3823, allocations: 109.4 kB / 0.795 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3824, allocations: 27.42 kB / 0.795 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.3824, allocations: 0 / 0.795 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of Templates: time 0.01274/0.3952, allocations: 2.543 MB / 0.7975 GB, free: 14.43 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)