Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001183/0.001183, allocations: 185 kB / 377.1 MB, free: 1.523 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.928/1.928, allocations: 205.4 MB / 0.6367 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 89.17 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003564, allocations: 16 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3121, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.724/2.036, allocations: 424.9 MB / 1.403 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/2.036, allocations: 92.98 kB / 1.403 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.014/4.05, allocations: 0.6157 GB / 2.019 GB, free: 58.24 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.034e-06/4.05, allocations: 0 / 2.019 GB, free: 58.24 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001697/4.05, allocations: 43.84 kB / 2.019 GB, free: 58.2 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.005739/4.056, allocations: 2.103 MB / 2.021 GB, free: 56.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/4.056, allocations: 12.03 kB / 2.021 GB, free: 56.05 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/4.058, allocations: 397 kB / 2.022 GB, free: 55.67 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/4.061, allocations: 1.319 MB / 2.023 GB, free: 54.33 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005831/4.062, allocations: 210.3 kB / 2.023 GB, free: 54.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/4.062, allocations: 104 kB / 2.023 GB, free: 54.02 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/4.064, allocations: 1.168 MB / 2.024 GB, free: 52.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/4.064, allocations: 3.938 kB / 2.024 GB, free: 52.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/4.064, allocations: 45.03 kB / 2.024 GB, free: 52.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/4.064, allocations: 20 kB / 2.024 GB, free: 52.73 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/4.066, allocations: 1.07 MB / 2.025 GB, free: 51.66 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.007765/4.074, allocations: 4.828 MB / 2.03 GB, free: 46.58 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/4.076, allocations: 0.9274 MB / 2.031 GB, free: 45.64 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/4.077, allocations: 1.056 MB / 2.032 GB, free: 44.36 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/4.079, allocations: 0.5625 MB / 2.033 GB, free: 43.79 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 5.951e-06/4.079, allocations: 1.094 kB / 2.033 GB, free: 43.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.004042/4.083, allocations: 1.437 MB / 2.034 GB, free: 42.34 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/4.083, allocations: 192.5 kB / 2.034 GB, free: 42.11 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/4.085, allocations: 1.039 MB / 2.035 GB, free: 41.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/4.085, allocations: 49.7 kB / 2.035 GB, free: 41.01 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/4.086, allocations: 0.5919 MB / 2.036 GB, free: 40.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/4.086, allocations: 252.3 kB / 2.036 GB, free: 40.16 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/4.086, allocations: 16 kB / 2.036 GB, free: 40.15 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001499/4.086, allocations: 345.9 kB / 2.036 GB, free: 39.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/4.087, allocations: 477.7 kB / 2.037 GB, free: 39.34 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/4.088, allocations: 0.7504 MB / 2.038 GB, free: 38.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/4.089, allocations: 0.5493 MB / 2.038 GB, free: 37.93 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/4.089, allocations: 0 / 2.038 GB, free: 37.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003031/4.092, allocations: 1.36 MB / 2.039 GB, free: 36.55 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004013/4.093, allocations: 1.628 MB / 2.041 GB, free: 34.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/4.093, allocations: 7.984 kB / 2.041 GB, free: 34.81 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/4.093, allocations: 15.95 kB / 2.041 GB, free: 34.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/4.094, allocations: 303.5 kB / 2.041 GB, free: 34.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005485/4.095, allocations: 1.191 MB / 2.043 GB, free: 33.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/4.097, allocations: 218.9 kB / 2.043 GB, free: 33.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/4.097, allocations: 59.92 kB / 2.043 GB, free: 32.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/4.097, allocations: 5.562 kB / 2.043 GB, free: 32.98 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002443/4.099, allocations: 1.224 MB / 2.044 GB, free: 31.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/4.099, allocations: 12.02 kB / 2.044 GB, free: 31.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/4.099, allocations: 12 kB / 2.044 GB, free: 31.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/4.1, allocations: 279.6 kB / 2.044 GB, free: 31.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/4.1, allocations: 15.92 kB / 2.044 GB, free: 31.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/4.102, allocations: 199 kB / 2.045 GB, free: 31.24 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/4.102, allocations: 51.97 kB / 2.045 GB, free: 31.19 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.0007798/4.103, allocations: 380.8 kB / 2.045 GB, free: 30.81 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/4.103, allocations: 150.2 kB / 2.045 GB, free: 30.66 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/4.106, allocations: 1.339 MB / 2.046 GB, free: 29.31 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/4.106, allocations: 12 kB / 2.046 GB, free: 29.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/4.106, allocations: 0 / 2.046 GB, free: 29.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/4.106, allocations: 3.984 kB / 2.046 GB, free: 29.29 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/4.11, allocations: 2.604 MB / 2.049 GB, free: 26.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/4.11, allocations: 0 / 2.049 GB, free: 26.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009616/4.111, allocations: 231.8 kB / 2.049 GB, free: 26.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/4.111, allocations: 4 kB / 2.049 GB, free: 26.38 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/4.111, allocations: 31.97 kB / 2.049 GB, free: 26.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003798/4.111, allocations: 1.188 MB / 2.05 GB, free: 25.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/4.111, allocations: 7.938 kB / 2.05 GB, free: 25.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/4.115, allocations: 2.066 MB / 2.052 GB, free: 22.93 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/4.116, allocations: 358.8 kB / 2.053 GB, free: 22.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/4.116, allocations: 20 kB / 2.053 GB, free: 22.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/4.117, allocations: 127.9 kB / 2.053 GB, free: 22.41 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/4.117, allocations: 76.45 kB / 2.053 GB, free: 22.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/4.117, allocations: 39.97 kB / 2.053 GB, free: 22.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001061/4.118, allocations: 0.7934 MB / 2.054 GB, free: 21.51 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/4.118, allocations: 3.938 kB / 2.054 GB, free: 21.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002896/4.121, allocations: 0.8815 MB / 2.055 GB, free: 20.62 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.001822/4.123, allocations: 0.9045 MB / 2.055 GB, free: 19.71 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004216/4.127, allocations: 1.988 MB / 2.057 GB, free: 17.69 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/4.127, allocations: 0 / 2.057 GB, free: 17.69 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/4.128, allocations: 0.6178 MB / 2.058 GB, free: 17.08 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/4.131, allocations: 0.5726 MB / 2.059 GB, free: 16.51 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/4.136, allocations: 2.987 MB / 2.062 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/4.137, allocations: 1.207 MB / 2.063 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001644/4.138, allocations: 358.8 kB / 2.063 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/4.139, allocations: 123.4 kB / 2.063 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of SimCode: time 9.41e-07/4.139, allocations: 0 / 2.063 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of Templates: time 0.6363/4.775, allocations: 30.85 MB / 2.093 GB, free: 147.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)