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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 293 MB / 309 MB, free: 4.844 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.001001/0.001001, allocations: 172.6 kB / 378.7 MB, free: 1.039 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.74/1.74, allocations: 205.4 MB / 0.6383 GB, free: 8.164 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.0007924/0.0007924, allocations: 91.38 kB / 0.7527 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004322, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.503/1.78, allocations: 425.1 MB / 1.406 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/1.781, allocations: 94.8 kB / 1.406 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.762/3.542, allocations: 0.6124 GB / 2.018 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.476e-06/3.542, allocations: 4 kB / 2.018 GB, free: 59.19 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003399/3.543, allocations: 43.52 kB / 2.018 GB, free: 59.15 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.006669/3.55, allocations: 2.096 MB / 2.02 GB, free: 57.02 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/3.55, allocations: 8.031 kB / 2.02 GB, free: 57.01 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/3.551, allocations: 394.5 kB / 2.021 GB, free: 56.62 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/3.555, allocations: 1.378 MB / 2.022 GB, free: 55.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006011/3.556, allocations: 210.9 kB / 2.022 GB, free: 55.02 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/3.556, allocations: 104.8 kB / 2.022 GB, free: 54.92 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/3.559, allocations: 1.18 MB / 2.023 GB, free: 53.68 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/3.559, allocations: 0 / 2.023 GB, free: 53.68 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/3.559, allocations: 36 kB / 2.023 GB, free: 53.65 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/3.559, allocations: 20 kB / 2.023 GB, free: 53.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/3.561, allocations: 1.077 MB / 2.025 GB, free: 52.55 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.008868/3.57, allocations: 4.79 MB / 2.029 GB, free: 47.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/3.572, allocations: 0.9196 MB / 2.03 GB, free: 46.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009314/3.573, allocations: 478.6 kB / 2.031 GB, free: 46.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/3.574, allocations: 1.059 MB / 2.032 GB, free: 44.87 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/3.575, allocations: 0.5625 MB / 2.032 GB, free: 44.29 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.156e-06/3.575, allocations: 0 / 2.032 GB, free: 44.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.00366/3.579, allocations: 1.433 MB / 2.034 GB, free: 42.85 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/3.579, allocations: 188.6 kB / 2.034 GB, free: 42.62 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/3.581, allocations: 1.191 MB / 2.035 GB, free: 41.42 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/3.582, allocations: 45.7 kB / 2.035 GB, free: 41.37 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/3.582, allocations: 0.595 MB / 2.035 GB, free: 40.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/3.582, allocations: 254.6 kB / 2.036 GB, free: 40.53 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/3.583, allocations: 23.59 kB / 2.036 GB, free: 40.51 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/3.583, allocations: 341.9 kB / 2.036 GB, free: 40.17 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/3.584, allocations: 473.7 kB / 2.037 GB, free: 39.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/3.585, allocations: 0.7544 MB / 2.037 GB, free: 38.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/3.587, allocations: 1.086 MB / 2.038 GB, free: 37.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/3.587, allocations: 4 kB / 2.038 GB, free: 37.69 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003012/3.59, allocations: 1.368 MB / 2.04 GB, free: 36.31 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/3.59, allocations: 238.6 kB / 2.04 GB, free: 36.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/3.59, allocations: 4 kB / 2.04 GB, free: 36.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/3.59, allocations: 19.92 kB / 2.04 GB, free: 35.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/3.592, allocations: 323.5 kB / 2.04 GB, free: 35.67 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005259/3.592, allocations: 1.199 MB / 2.041 GB, free: 34.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/3.594, allocations: 211 kB / 2.042 GB, free: 34.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/3.594, allocations: 51.97 kB / 2.042 GB, free: 34.17 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/3.594, allocations: 4 kB / 2.042 GB, free: 34.16 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002443/3.596, allocations: 1.22 MB / 2.043 GB, free: 32.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/3.596, allocations: 4.219 kB / 2.043 GB, free: 32.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/3.596, allocations: 12 kB / 2.043 GB, free: 32.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/3.597, allocations: 291.5 kB / 2.043 GB, free: 32.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/3.598, allocations: 11.94 kB / 2.043 GB, free: 32.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/3.599, allocations: 203 kB / 2.043 GB, free: 32.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/3.599, allocations: 55.95 kB / 2.043 GB, free: 32.38 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.0007926/3.6, allocations: 379 kB / 2.044 GB, free: 32 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004114/3.6, allocations: 142.2 kB / 2.044 GB, free: 31.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/3.603, allocations: 1.335 MB / 2.045 GB, free: 30.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/3.603, allocations: 19.92 kB / 2.045 GB, free: 30.48 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/3.603, allocations: 0 / 2.045 GB, free: 30.48 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/3.603, allocations: 3.984 kB / 2.045 GB, free: 30.48 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/3.608, allocations: 2.582 MB / 2.048 GB, free: 27.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/3.608, allocations: 0 / 2.048 GB, free: 27.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/3.609, allocations: 243.6 kB / 2.048 GB, free: 27.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/3.609, allocations: 7.938 kB / 2.048 GB, free: 27.57 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/3.609, allocations: 27.98 kB / 2.048 GB, free: 27.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000394/3.609, allocations: 1.192 MB / 2.049 GB, free: 26.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/3.609, allocations: 4 kB / 2.049 GB, free: 26.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/3.613, allocations: 1.957 MB / 2.051 GB, free: 24.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/3.614, allocations: 346.8 kB / 2.051 GB, free: 23.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/3.614, allocations: 20 kB / 2.051 GB, free: 23.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/3.615, allocations: 131.8 kB / 2.052 GB, free: 23.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/3.615, allocations: 68.56 kB / 2.052 GB, free: 23.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/3.616, allocations: 47.91 kB / 2.052 GB, free: 23.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001234/3.617, allocations: 0.7817 MB / 2.052 GB, free: 22.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/3.617, allocations: 0 / 2.052 GB, free: 22.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003204/3.62, allocations: 0.8699 MB / 2.053 GB, free: 22.03 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.002356/3.622, allocations: 0.8854 MB / 2.054 GB, free: 21.15 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004617/3.627, allocations: 2.023 MB / 2.056 GB, free: 19.09 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/3.627, allocations: 0 / 2.056 GB, free: 19.09 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/3.628, allocations: 0.614 MB / 2.057 GB, free: 18.48 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/3.632, allocations: 0.5747 MB / 2.057 GB, free: 17.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/3.637, allocations: 2.991 MB / 2.06 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/3.638, allocations: 1.176 MB / 2.061 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001851/3.64, allocations: 366.8 kB / 2.062 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/3.64, allocations: 127.4 kB / 2.062 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of SimCode: time 6.21e-07/3.64, allocations: 0 / 2.062 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of Templates: time 0.567/4.207, allocations: 31.28 MB / 2.092 GB, free: 147.8 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)