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.676/1.676, allocations: 288.3 MB / 303.2 MB, free: 8.051 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.001088/0.001088, allocations: 183.8 kB / 371.8 MB, free: 10.28 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.477/1.477, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0008948/0.0008949, allocations: 105.5 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003957, allocations: 12.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1924, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8277/1.02, allocations: 424 MB / 1.393 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.02, allocations: 90.52 kB / 1.394 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.156/3.177, allocations: 0.6156 GB / 2.009 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.424e-06/3.177, allocations: 0 / 2.009 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001449/3.177, allocations: 43.92 kB / 2.009 GB, free: 121.5 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.004867/3.182, allocations: 2.112 MB / 2.011 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/3.182, allocations: 15.28 kB / 2.011 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/3.184, allocations: 381.8 kB / 2.012 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/3.187, allocations: 1.318 MB / 2.013 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000598/3.187, allocations: 218.7 kB / 2.013 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/3.187, allocations: 107.9 kB / 2.013 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/3.19, allocations: 1.17 MB / 2.014 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/3.19, allocations: 0 / 2.014 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/3.19, allocations: 40 kB / 2.014 GB, free: 116 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/3.19, allocations: 23.95 kB / 2.014 GB, free: 116 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/3.192, allocations: 1.075 MB / 2.016 GB, free: 114.9 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.007059/3.199, allocations: 4.831 MB / 2.02 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/3.201, allocations: 0.9354 MB / 2.021 GB, free: 109 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008937/3.202, allocations: 1.061 MB / 2.022 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/3.203, allocations: 0.553 MB / 2.023 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.336e-06/3.203, allocations: 0 / 2.023 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.003453/3.207, allocations: 1.433 MB / 2.024 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/3.207, allocations: 196.6 kB / 2.024 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/3.208, allocations: 1.039 MB / 2.025 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/3.208, allocations: 53.7 kB / 2.025 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/3.209, allocations: 0.5919 MB / 2.026 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/3.209, allocations: 248.4 kB / 2.026 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/3.209, allocations: 16 kB / 2.026 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/3.209, allocations: 345.9 kB / 2.027 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/3.21, allocations: 473.7 kB / 2.027 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/3.211, allocations: 0.7467 MB / 2.028 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/3.212, allocations: 0.5497 MB / 2.028 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/3.212, allocations: 0 / 2.028 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002813/3.215, allocations: 1.368 MB / 2.03 GB, free: 99.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002803/3.215, allocations: 1.621 MB / 2.031 GB, free: 98.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/3.215, allocations: 4 kB / 2.031 GB, free: 98.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/3.215, allocations: 15.95 kB / 2.031 GB, free: 98.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/3.217, allocations: 307.5 kB / 2.031 GB, free: 97.85 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005116/3.217, allocations: 1.199 MB / 2.033 GB, free: 96.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/3.219, allocations: 210.9 kB / 2.033 GB, free: 96.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/3.219, allocations: 55.97 kB / 2.033 GB, free: 96.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/3.219, allocations: 7.953 kB / 2.033 GB, free: 96.34 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002471/3.222, allocations: 1.224 MB / 2.034 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/3.222, allocations: 4 kB / 2.034 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/3.222, allocations: 15.94 kB / 2.034 GB, free: 95.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/3.223, allocations: 283.8 kB / 2.034 GB, free: 94.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/3.223, allocations: 8 kB / 2.034 GB, free: 94.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/3.224, allocations: 207 kB / 2.035 GB, free: 94.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/3.224, allocations: 51.97 kB / 2.035 GB, free: 94.55 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.000738/3.225, allocations: 386 kB / 2.035 GB, free: 94.16 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/3.225, allocations: 150.2 kB / 2.035 GB, free: 94.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/3.228, allocations: 1.344 MB / 2.036 GB, free: 92.67 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/3.228, allocations: 15.98 kB / 2.036 GB, free: 92.65 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/3.228, allocations: 0 / 2.036 GB, free: 92.65 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/3.228, allocations: 3.984 kB / 2.036 GB, free: 92.65 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/3.233, allocations: 2.597 MB / 2.039 GB, free: 89.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/3.233, allocations: 0 / 2.039 GB, free: 89.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/3.234, allocations: 235.9 kB / 2.039 GB, free: 89.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/3.234, allocations: 4 kB / 2.039 GB, free: 89.73 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/3.234, allocations: 31.98 kB / 2.039 GB, free: 89.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003668/3.234, allocations: 1.188 MB / 2.04 GB, free: 88.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/3.234, allocations: 4 kB / 2.04 GB, free: 88.46 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/3.238, allocations: 2.066 MB / 2.042 GB, free: 86.29 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007907/3.239, allocations: 358.9 kB / 2.043 GB, free: 85.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/3.239, allocations: 23.98 kB / 2.043 GB, free: 85.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/3.24, allocations: 127.8 kB / 2.043 GB, free: 85.77 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/3.24, allocations: 80.44 kB / 2.043 GB, free: 85.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/3.24, allocations: 39.97 kB / 2.043 GB, free: 85.65 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009996/3.241, allocations: 0.7895 MB / 2.044 GB, free: 84.86 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.91e-07/3.241, allocations: 0 / 2.044 GB, free: 84.86 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002514/3.244, allocations: 0.8777 MB / 2.045 GB, free: 83.98 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.001754/3.245, allocations: 0.9005 MB / 2.046 GB, free: 83.12 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004217/3.25, allocations: 1.988 MB / 2.048 GB, free: 81.11 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/3.25, allocations: 0 / 2.048 GB, free: 81.11 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/3.251, allocations: 0.61 MB / 2.048 GB, free: 80.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/3.254, allocations: 0.5758 MB / 2.049 GB, free: 79.94 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/3.258, allocations: 2.982 MB / 2.052 GB, free: 76.89 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/3.259, allocations: 1.203 MB / 2.053 GB, free: 75.66 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00166/3.26, allocations: 372.2 kB / 2.053 GB, free: 75.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/3.261, allocations: 123.4 kB / 2.053 GB, free: 75.18 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/3.261, allocations: 3.938 kB / 2.053 GB, free: 75.18 MB / 0.9323 GB Notification: Performance of Templates: time 0.04122/3.302, allocations: 30.87 MB / 2.083 GB, free: 44.61 MB / 0.9323 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)