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.0008549/0.0008547, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009242/0.0009243, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.639/1.639, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005595/0.0005596, allocations: 14.16 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2485, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008656/0.2494, allocations: 326.5 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.2516, allocations: 1.689 MB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.2516, allocations: 0 / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.2517, allocations: 0 / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-06/0.2517, allocations: 3.938 kB / 0.7893 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.2524, allocations: 254.6 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.2526, allocations: 103.9 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.2526, allocations: 4 kB / 0.7896 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.2527, allocations: 39.97 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2528, allocations: 63.86 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2528, allocations: 4 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.2532, allocations: 263.7 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.2533, allocations: 43.89 kB / 0.79 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.2533, allocations: 33.7 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2535, allocations: 171.7 kB / 0.7902 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2535, allocations: 0 / 0.7902 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.547e-06/0.2536, allocations: 0 / 0.7902 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2536, allocations: 7.938 kB / 0.7902 GB, free: 8.945 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.0006002/0.2542, allocations: 419.4 kB / 0.7906 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2542, allocations: 12.03 kB / 0.7906 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.2543, allocations: 7.906 kB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.945e-05/0.2544, allocations: 170.9 kB / 0.7908 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2544, allocations: 16 kB / 0.7908 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.2544, allocations: 12 kB / 0.7908 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.2547, allocations: 214.6 kB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2547, allocations: 4 kB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2548, allocations: 0 / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2548, allocations: 4 kB / 0.791 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.255, allocations: 187.7 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.2553, allocations: 286 kB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.256, allocations: 407.8 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.2562, allocations: 177.2 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.2566, allocations: 199.2 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2566, allocations: 42.5 kB / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.2566, allocations: 0 / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006029/0.2572, allocations: 386.7 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.2573, allocations: 191.9 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.676e-05/0.2573, allocations: 89.86 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2574, allocations: 29.7 kB / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.2574, allocations: 80.7 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.2575, allocations: 102.5 kB / 0.7931 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.2575, allocations: 4 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2576, allocations: 322.8 kB / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2578, allocations: 87.92 kB / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2579, allocations: 138.1 kB / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.2581, allocations: 115.9 kB / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2581, allocations: 11.88 kB / 0.7938 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003888/0.2585, allocations: 289.6 kB / 0.794 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2585, allocations: 4 kB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2585, allocations: 4 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2586, allocations: 4 kB / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2588, allocations: 59.89 kB / 0.7941 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2588, allocations: 4 kB / 0.7941 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.2589, allocations: 19.75 kB / 0.7941 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.2589, allocations: 11.98 kB / 0.7941 GB, free: 4.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.259, allocations: 146.4 kB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.2591, allocations: 7.906 kB / 0.7943 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.2596, allocations: 368.7 kB / 0.7946 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2596, allocations: 4 kB / 0.7946 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2596, allocations: 3.938 kB / 0.7946 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2597, allocations: 4 kB / 0.7946 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.2599, allocations: 249.4 kB / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2599, allocations: 3.953 kB / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2601, allocations: 56.39 kB / 0.7949 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2601, allocations: 4 kB / 0.7949 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2601, allocations: 11.94 kB / 0.795 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2601, allocations: 11.98 kB / 0.795 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2601, allocations: 0 / 0.795 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.2606, allocations: 337.1 kB / 0.7953 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.2606, allocations: 96.91 kB / 0.7954 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.2606, allocations: 4 kB / 0.7954 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.2607, allocations: 12 kB / 0.7954 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.2608, allocations: 19.97 kB / 0.7954 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.2608, allocations: 19.98 kB / 0.7954 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.2608, allocations: 75.28 kB / 0.7955 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2608, allocations: 0 / 0.7955 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003437/0.2612, allocations: 91.98 kB / 0.7956 GB, free: 2.906 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 (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.0004483/0.2616, allocations: 214.4 kB / 0.7958 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.262, allocations: 251.6 kB / 0.796 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.262, allocations: 0 / 0.796 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.2622, allocations: 140.7 kB / 0.7962 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.2624, allocations: 15.95 kB / 0.7962 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.2629, allocations: 392.8 kB / 0.7966 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2632, allocations: 0.7088 MB / 0.7973 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.2634, allocations: 109.4 kB / 0.7974 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.2634, allocations: 31.41 kB / 0.7974 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2634, allocations: 4 kB / 0.7974 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of Templates: time 0.004827/0.2683, allocations: 2.422 MB / 0.7998 GB, free: 14.57 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: