Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.191/2.191, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 199.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 99.75 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 53.19 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2865, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001689/0.2883, allocations: 0.6557 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2904, allocations: 1.769 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.2904, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.2905, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.2905, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.2912, allocations: 251.1 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2913, allocations: 119.9 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.2914, allocations: 4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.2914, allocations: 39.97 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.2915, allocations: 59.86 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2915, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.2919, allocations: 287.6 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.292, allocations: 43.89 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.292, allocations: 39.78 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.2924, allocations: 271.4 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2924, allocations: 4 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2924, allocations: 4 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2924, allocations: 0 / 1.222 GB, free: 113.7 MB / 0.823 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.0005917/0.293, allocations: 437.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.293, allocations: 11.98 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.2931, allocations: 16.75 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.2932, allocations: 172.3 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2932, allocations: 11.94 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.2932, allocations: 12 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.2935, allocations: 216.1 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2935, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.2936, allocations: 11.94 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2936, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.2938, allocations: 179.8 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.294, allocations: 290 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.2946, allocations: 407.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2948, allocations: 185.1 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.2951, allocations: 195.2 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2952, allocations: 42.5 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.2952, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0005393/0.2957, allocations: 382.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.2958, allocations: 195.8 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.12e-05/0.2958, allocations: 89.86 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2958, allocations: 33.64 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.173e-05/0.2958, allocations: 80.7 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.2959, allocations: 102.5 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.296, allocations: 53.69 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.296, allocations: 322.8 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2962, allocations: 83.94 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2963, allocations: 149.1 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2966, allocations: 253.2 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2966, allocations: 7.938 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003396/0.297, allocations: 293.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.297, allocations: 8 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.297, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.297, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2972, allocations: 55.89 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2972, allocations: 7.938 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.2973, allocations: 19.75 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2973, allocations: 12 kB / 1.226 GB, free: 109 MB / 0.823 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.822e-05/0.2974, allocations: 142.3 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.2975, allocations: 11.91 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.298, allocations: 361.5 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.298, allocations: 4 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.298, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.298, allocations: 7.984 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2982, allocations: 253.3 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2982, allocations: 4 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.2984, allocations: 55.89 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2984, allocations: 4 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2984, allocations: 8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2984, allocations: 4 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2984, allocations: 7.938 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.2991, allocations: 1.022 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.2991, allocations: 92.94 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2991, allocations: 8 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.2992, allocations: 4 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.2993, allocations: 27.91 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2993, allocations: 11.98 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.506e-05/0.2993, allocations: 79.22 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2993, allocations: 4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004349/0.2997, allocations: 99.92 kB / 1.228 GB, free: 106.7 MB / 0.823 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.0004823/0.3002, allocations: 211.2 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.3006, allocations: 251.8 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3006, allocations: 0 / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3007, allocations: 135.8 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.3009, allocations: 22.23 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.3015, allocations: 0.5817 MB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3016, allocations: 0.7205 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.3018, allocations: 105.4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.3019, allocations: 27.42 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.062e-06/0.3019, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of Templates: time 0.004476/0.3064, allocations: 2.552 MB / 1.232 GB, free: 102 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)