Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.3 MB / 303.2 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 179.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000917/0.0009169, allocations: 106.7 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003987, allocations: 12.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03252/0.263, allocations: 40.47 MB / 1.019 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02012/0.2832, allocations: 12.22 MB / 1.031 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.2863, allocations: 47.62 kB / 1.031 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.2891, allocations: 0.6452 MB / 1.032 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006488/0.2956, allocations: 1.785 MB / 1.033 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.009597/0.3052, allocations: 2.849 MB / 1.036 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005458/0.3107, allocations: 2.109 MB / 1.038 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.3129, allocations: 0.923 MB / 1.039 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.3172, allocations: 1.195 MB / 1.04 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.3194, allocations: 0.7193 MB / 1.041 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.3199, allocations: 52 kB / 1.041 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/0.3247, allocations: 1.833 MB / 1.043 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006292/0.3254, allocations: 258.9 kB / 1.043 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000923/0.3263, allocations: 316.8 kB / 1.043 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.3304, allocations: 2.03 MB / 1.045 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3304, allocations: 4 kB / 1.045 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3305, allocations: 0 / 1.045 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.393e-05/0.3305, allocations: 0 / 1.045 GB, free: 8.152 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.004768/0.3353, allocations: 1.843 MB / 1.047 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3354, allocations: 8.031 kB / 1.047 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.3372, allocations: 421.6 kB / 1.047 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.3395, allocations: 1.098 MB / 1.049 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006556/0.3401, allocations: 210.2 kB / 1.049 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.3403, allocations: 104 kB / 1.049 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.3427, allocations: 1.118 MB / 1.05 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3427, allocations: 4 kB / 1.05 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.3428, allocations: 36 kB / 1.05 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.3429, allocations: 20 kB / 1.05 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.3454, allocations: 1.062 MB / 1.051 GB, free: 2.082 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008198/0.3536, allocations: 4.814 MB / 1.056 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.356, allocations: 0.9142 MB / 1.057 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.3573, allocations: 1.077 MB / 1.058 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.3586, allocations: 0.5392 MB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.577e-06/0.3586, allocations: 0 / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003777/0.3624, allocations: 1.406 MB / 1.06 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.3625, allocations: 137.2 kB / 1.06 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.364, allocations: 1.191 MB / 1.061 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.3641, allocations: 49.7 kB / 1.061 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.3647, allocations: 0.5954 MB / 1.062 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.3649, allocations: 252.3 kB / 1.062 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.365, allocations: 24 kB / 1.062 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3652, allocations: 345.9 kB / 1.062 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3663, allocations: 461.7 kB / 1.063 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3677, allocations: 0.7065 MB / 1.063 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.369, allocations: 0.5239 MB / 1.064 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.369, allocations: 3.953 kB / 1.064 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003053/0.3721, allocations: 1.353 MB / 1.065 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007193/0.3728, allocations: 1.711 MB / 1.067 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.3729, allocations: 7.984 kB / 1.067 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.3729, allocations: 12 kB / 1.067 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.3744, allocations: 311.6 kB / 1.067 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5068/0.8812, allocations: 1.195 MB / 1.068 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.8832, allocations: 199.7 kB / 1.068 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.8834, allocations: 56.45 kB / 1.068 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8834, allocations: 4.312 kB / 1.068 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003337/0.8867, allocations: 1.206 MB / 1.07 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.8868, allocations: 10.45 kB / 1.07 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8868, allocations: 13.34 kB / 1.07 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.888, allocations: 278.5 kB / 1.07 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.888, allocations: 15.44 kB / 1.07 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8894, allocations: 201 kB / 1.07 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.8895, allocations: 53.59 kB / 1.07 GB, free: 87.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007842/0.8903, allocations: 377.4 kB / 1.071 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.8906, allocations: 141.3 kB / 1.071 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.8938, allocations: 1.326 MB / 1.072 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.8938, allocations: 10.27 kB / 1.072 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8938, allocations: 2.469 kB / 1.072 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.8938, allocations: 4.219 kB / 1.072 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/0.8991, allocations: 2.563 MB / 1.075 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8992, allocations: 1.219 kB / 1.075 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.9004, allocations: 229.4 kB / 1.075 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/0.9004, allocations: 8.859 kB / 1.075 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/0.9005, allocations: 28.36 kB / 1.075 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004177/0.9009, allocations: 1.189 MB / 1.076 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9009, allocations: 3.016 kB / 1.076 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.906, allocations: 2.028 MB / 1.078 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.9067, allocations: 359.5 kB / 1.078 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.9069, allocations: 21.39 kB / 1.078 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.908, allocations: 117.8 kB / 1.078 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.9082, allocations: 69.36 kB / 1.078 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.9083, allocations: 41.59 kB / 1.078 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001478/0.9098, allocations: 0.7872 MB / 1.079 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9098, allocations: 0 / 1.079 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003375/0.9132, allocations: 0.7976 MB / 1.08 GB, free: 83.28 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/0.9148, allocations: 0.5816 MB / 1.081 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005409/0.9202, allocations: 1.971 MB / 1.083 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9202, allocations: 5.562 kB / 1.083 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.9218, allocations: 0.5965 MB / 1.083 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.9248, allocations: 0.5728 MB / 1.084 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.9302, allocations: 2.979 MB / 1.087 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000956/0.9312, allocations: 1.206 MB / 1.088 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001964/0.9332, allocations: 370.6 kB / 1.088 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.9335, allocations: 120.4 kB / 1.088 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of SimCode: time 2.284e-06/0.9335, allocations: 0 / 1.088 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.05311/0.9867, allocations: 27.66 MB / 1.115 GB, free: 68.39 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)