Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 287.5 MB / 303.2 MB, free: 8.262 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.001364/0.001363, allocations: 189.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009282/0.0009279, allocations: 93.28 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.000468, allocations: 13.31 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.467, allocations: 424 MB / 1.393 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.467, allocations: 99.08 kB / 1.393 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.28/4.747, allocations: 0.6121 GB / 2.006 GB, free: 127 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.195e-06/4.747, allocations: 0 / 2.006 GB, free: 127 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001922/4.747, allocations: 43.92 kB / 2.006 GB, free: 126.9 MB / 0.9323 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.006819/4.754, allocations: 2.103 MB / 2.008 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/4.754, allocations: 12.03 kB / 2.008 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/4.757, allocations: 382.9 kB / 2.008 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00473/4.762, allocations: 1.386 MB / 2.009 GB, free: 123 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/4.763, allocations: 212.5 kB / 2.01 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/4.763, allocations: 108.7 kB / 2.01 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/4.767, allocations: 1.176 MB / 2.011 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/4.767, allocations: 0 / 2.011 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/4.767, allocations: 36 kB / 2.011 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/4.767, allocations: 20 kB / 2.011 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004268/4.771, allocations: 1.076 MB / 2.012 GB, free: 120.4 MB / 0.9323 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.01174/4.783, allocations: 4.796 MB / 2.017 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/4.787, allocations: 0.9346 MB / 2.018 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/4.789, allocations: 478 kB / 2.018 GB, free: 114 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/4.79, allocations: 1.058 MB / 2.019 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002104/4.792, allocations: 0.5573 MB / 2.02 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 4.418e-06/4.792, allocations: 0 / 2.02 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.006102/4.798, allocations: 1.439 MB / 2.021 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/4.798, allocations: 192.5 kB / 2.021 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/4.8, allocations: 1.185 MB / 2.022 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002876/4.801, allocations: 49.7 kB / 2.022 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/4.801, allocations: 0.601 MB / 2.023 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/4.802, allocations: 248.3 kB / 2.023 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/4.802, allocations: 25.77 kB / 2.023 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/4.802, allocations: 341.9 kB / 2.024 GB, free: 108 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/4.804, allocations: 474.5 kB / 2.024 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/4.806, allocations: 0.7512 MB / 2.025 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/4.81, allocations: 1.086 MB / 2.026 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/4.81, allocations: 4 kB / 2.026 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005168/4.815, allocations: 1.368 MB / 2.027 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/4.815, allocations: 242.7 kB / 2.027 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/4.815, allocations: 8 kB / 2.027 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/4.815, allocations: 8 kB / 2.027 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/4.818, allocations: 319.6 kB / 2.028 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007155/4.819, allocations: 1.188 MB / 2.029 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/4.822, allocations: 218.9 kB / 2.029 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/4.822, allocations: 51.97 kB / 2.029 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/4.822, allocations: 4 kB / 2.029 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004605/4.827, allocations: 1.224 MB / 2.03 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/4.827, allocations: 8.031 kB / 2.03 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/4.827, allocations: 8 kB / 2.03 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/4.829, allocations: 291.6 kB / 2.031 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/4.829, allocations: 15.88 kB / 2.031 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/4.831, allocations: 199 kB / 2.031 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/4.831, allocations: 55.95 kB / 2.031 GB, free: 100.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (121): * Single equations (assignments): 116 * 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.0009143/4.832, allocations: 380.8 kB / 2.031 GB, free: 99.87 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/4.833, allocations: 142.2 kB / 2.031 GB, free: 99.73 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/4.838, allocations: 1.341 MB / 2.033 GB, free: 98.38 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/4.838, allocations: 15.92 kB / 2.033 GB, free: 98.37 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/4.838, allocations: 0 / 2.033 GB, free: 98.37 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/4.838, allocations: 3.984 kB / 2.033 GB, free: 98.36 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007219/4.845, allocations: 2.58 MB / 2.035 GB, free: 95.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/4.845, allocations: 4 kB / 2.035 GB, free: 95.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/4.847, allocations: 231.8 kB / 2.035 GB, free: 95.46 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/4.847, allocations: 4 kB / 2.035 GB, free: 95.46 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/4.847, allocations: 27.98 kB / 2.035 GB, free: 95.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005156/4.848, allocations: 1.191 MB / 2.037 GB, free: 94.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/4.848, allocations: 4.031 kB / 2.037 GB, free: 94.19 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006578/4.854, allocations: 1.954 MB / 2.039 GB, free: 92.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009993/4.855, allocations: 354.9 kB / 2.039 GB, free: 91.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/4.856, allocations: 16 kB / 2.039 GB, free: 91.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/4.858, allocations: 139.8 kB / 2.039 GB, free: 91.68 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/4.858, allocations: 68.5 kB / 2.039 GB, free: 91.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/4.858, allocations: 43.91 kB / 2.039 GB, free: 91.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001478/4.859, allocations: 0.7817 MB / 2.04 GB, free: 90.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.7e-07/4.859, allocations: 0 / 2.04 GB, free: 90.79 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003444/4.863, allocations: 0.87 MB / 2.041 GB, free: 89.92 MB / 0.9323 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.00229/4.865, allocations: 0.896 MB / 2.042 GB, free: 89.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007615/4.873, allocations: 2.015 MB / 2.044 GB, free: 87.02 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/4.873, allocations: 0 / 2.044 GB, free: 87.02 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/4.875, allocations: 0.6101 MB / 2.044 GB, free: 86.41 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005685/4.881, allocations: 0.5798 MB / 2.045 GB, free: 85.85 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/4.888, allocations: 2.989 MB / 2.048 GB, free: 82.81 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/4.889, allocations: 1.183 MB / 2.049 GB, free: 81.59 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002688/4.891, allocations: 362.4 kB / 2.049 GB, free: 81.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/4.892, allocations: 127.4 kB / 2.049 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of SimCode: time 1.062e-06/4.892, allocations: 0 / 2.049 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of Templates: time 0.0736/4.966, allocations: 30.96 MB / 2.079 GB, free: 50.55 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)