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.001196/0.001197, allocations: 109.2 kB / 16.37 MB, free: 6.465 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.001092/0.001092, allocations: 188.6 kB / 17.31 MB, free: 5.824 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.764/1.764, allocations: 292.3 MB / 0.5496 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.00143/0.00143, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2678, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002027/0.2698, allocations: 0.6044 MB / 0.7854 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.2725, allocations: 1.745 MB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.2725, allocations: 4 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.2726, allocations: 7.938 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.2726, allocations: 0 / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2736, allocations: 306.5 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.2738, allocations: 119.9 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.2739, allocations: 4 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.274, allocations: 39.97 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.2741, allocations: 67.84 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2741, allocations: 4 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4614/0.7355, allocations: 335.1 kB / 0.7879 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.7356, allocations: 40.53 kB / 0.788 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.7357, allocations: 46.53 kB / 0.788 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.7361, allocations: 268.2 kB / 0.7883 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7361, allocations: 7.047 kB / 0.7883 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7361, allocations: 0 / 0.7883 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.7362, allocations: 2.688 kB / 0.7883 GB, free: 47.36 MB / 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.000548/0.7367, allocations: 439.4 kB / 0.7887 GB, free: 47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7367, allocations: 8.812 kB / 0.7887 GB, free: 47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.7368, allocations: 15.28 kB / 0.7887 GB, free: 47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.378e-05/0.7369, allocations: 169.2 kB / 0.7889 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7369, allocations: 6.531 kB / 0.7889 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.7369, allocations: 18.5 kB / 0.7889 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.7372, allocations: 215.5 kB / 0.7891 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7372, allocations: 0 / 0.7891 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.7372, allocations: 8.688 kB / 0.7891 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7373, allocations: 4 kB / 0.7891 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.7375, allocations: 174.3 kB / 0.7893 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.7377, allocations: 279.7 kB / 0.7896 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.7384, allocations: 413.6 kB / 0.79 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.7386, allocations: 186.4 kB / 0.7901 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.7389, allocations: 196.3 kB / 0.7903 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.7389, allocations: 47.44 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.7389, allocations: 0 / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30): time 0.000599/0.7395, allocations: 382.8 kB / 0.7907 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.7396, allocations: 187.2 kB / 0.7909 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.828e-05/0.7396, allocations: 96.23 kB / 0.791 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.7396, allocations: 34.64 kB / 0.791 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.451e-05/0.7396, allocations: 80.7 kB / 0.7911 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.7397, allocations: 103.8 kB / 0.7912 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.7398, allocations: 53.12 kB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.7399, allocations: 319.7 kB / 0.7916 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.74, allocations: 94.08 kB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.7402, allocations: 140.8 kB / 0.7918 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.7405, allocations: 257.8 kB / 0.792 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7405, allocations: 0 / 0.792 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003607/0.7408, allocations: 294.4 kB / 0.7923 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7409, allocations: 7.875 kB / 0.7923 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7409, allocations: 0 / 0.7923 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7409, allocations: 6.094 kB / 0.7923 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.7411, allocations: 57.97 kB / 0.7924 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7411, allocations: 3.344 kB / 0.7924 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.7412, allocations: 20.62 kB / 0.7924 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.7412, allocations: 15.52 kB / 0.7924 GB, free: 45.05 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.231e-05/0.7413, allocations: 134.6 kB / 0.7926 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.7414, allocations: 19 kB / 0.7926 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.7419, allocations: 356.3 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7419, allocations: 3.469 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7419, allocations: 3.703 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.7419, allocations: 6.469 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.7421, allocations: 254.3 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7421, allocations: 8.047 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.7423, allocations: 55.2 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7423, allocations: 4.281 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.7424, allocations: 9.406 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7424, allocations: 12.69 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7424, allocations: 3.344 kB / 0.7933 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.7427, allocations: 335.3 kB / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.7428, allocations: 98.91 kB / 0.7937 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.7428, allocations: 10.69 kB / 0.7937 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.7429, allocations: 3.938 kB / 0.7937 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.7429, allocations: 30.41 kB / 0.7937 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.743, allocations: 10.66 kB / 0.7937 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.49e-05/0.743, allocations: 75.28 kB / 0.7938 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.743, allocations: 0 / 0.7938 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003598/0.7434, allocations: 98.5 kB / 0.7939 GB, free: 44.4 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.0004647/0.7438, allocations: 209.4 kB / 0.7941 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.7442, allocations: 259.5 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7442, allocations: 3.469 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.7444, allocations: 140.9 kB / 0.7945 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.7446, allocations: 14.53 kB / 0.7945 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.7451, allocations: 382 kB / 0.7948 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.7452, allocations: 0.7128 MB / 0.7955 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.7453, allocations: 36.16 kB / 0.7956 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7453, allocations: 0 / 0.7956 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.005202/0.7505, allocations: 2.879 MB / 0.7984 GB, free: 43.21 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)