Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.602/2.602, allocations: 287.5 MB / 302.4 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 173.1 kB / 371 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.6297 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 86.92 kB / 0.743 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004908, allocations: 12.78 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2082, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/1.584, allocations: 423.8 MB / 1.392 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/1.585, allocations: 91.7 kB / 1.392 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.418/5.003, allocations: 0.6154 GB / 2.008 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.104e-06/5.003, allocations: 4 kB / 2.008 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002459/5.003, allocations: 43.98 kB / 2.008 GB, free: 123.8 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.007627/5.011, allocations: 2.115 MB / 2.01 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/5.011, allocations: 8.031 kB / 2.01 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/5.014, allocations: 385.7 kB / 2.01 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/5.019, allocations: 1.32 MB / 2.011 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00124/5.02, allocations: 210 kB / 2.012 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004559/5.02, allocations: 108.8 kB / 2.012 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/5.024, allocations: 1.167 MB / 2.013 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/5.025, allocations: 7.875 kB / 2.013 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/5.025, allocations: 39.95 kB / 2.013 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/5.025, allocations: 27.94 kB / 2.013 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/5.029, allocations: 1.075 MB / 2.014 GB, free: 117.3 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.01294/5.042, allocations: 4.832 MB / 2.019 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/5.047, allocations: 0.9407 MB / 2.02 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/5.048, allocations: 1.053 MB / 2.021 GB, free: 110 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002365/5.05, allocations: 0.5593 MB / 2.021 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 5.1e-06/5.05, allocations: 0 / 2.021 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.006683/5.057, allocations: 1.43 MB / 2.023 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/5.057, allocations: 192.5 kB / 2.023 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/5.06, allocations: 1.046 MB / 2.024 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003604/5.06, allocations: 49.7 kB / 2.024 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/5.061, allocations: 0.5918 MB / 2.024 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/5.061, allocations: 252.4 kB / 2.025 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/5.061, allocations: 20 kB / 2.025 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/5.061, allocations: 343.8 kB / 2.025 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/5.063, allocations: 475.2 kB / 2.026 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/5.066, allocations: 0.7506 MB / 2.026 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/5.068, allocations: 0.5423 MB / 2.027 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/5.068, allocations: 4 kB / 2.027 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005671/5.074, allocations: 1.363 MB / 2.028 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000371/5.074, allocations: 1.628 MB / 2.03 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/5.074, allocations: 7.953 kB / 2.03 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.824e-05/5.074, allocations: 11.98 kB / 2.03 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/5.077, allocations: 299.5 kB / 2.03 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007777/5.078, allocations: 1.191 MB / 2.031 GB, free: 98.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/5.081, allocations: 222.9 kB / 2.031 GB, free: 98.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/5.081, allocations: 55.97 kB / 2.031 GB, free: 98.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/5.081, allocations: 4 kB / 2.031 GB, free: 98.71 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005162/5.087, allocations: 1.22 MB / 2.033 GB, free: 97.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/5.087, allocations: 4 kB / 2.033 GB, free: 97.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/5.087, allocations: 16.2 kB / 2.033 GB, free: 97.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/5.089, allocations: 279.6 kB / 2.033 GB, free: 97.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/5.089, allocations: 15.94 kB / 2.033 GB, free: 97.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/5.092, allocations: 206.9 kB / 2.033 GB, free: 96.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/5.092, allocations: 55.97 kB / 2.033 GB, free: 96.92 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.001018/5.093, allocations: 380 kB / 2.034 GB, free: 96.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/5.094, allocations: 146.2 kB / 2.034 GB, free: 96.39 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/5.099, allocations: 1.35 MB / 2.035 GB, free: 95.04 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/5.099, allocations: 11.8 kB / 2.035 GB, free: 95.03 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/5.099, allocations: 0 / 2.035 GB, free: 95.03 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/5.099, allocations: 3.984 kB / 2.035 GB, free: 95.03 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/5.107, allocations: 2.597 MB / 2.038 GB, free: 92.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/5.107, allocations: 8.031 kB / 2.038 GB, free: 92.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/5.109, allocations: 223.7 kB / 2.038 GB, free: 92.12 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/5.109, allocations: 8 kB / 2.038 GB, free: 92.11 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/5.109, allocations: 23.98 kB / 2.038 GB, free: 92.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005595/5.11, allocations: 1.195 MB / 2.039 GB, free: 90.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/5.11, allocations: 7.922 kB / 2.039 GB, free: 90.84 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007299/5.117, allocations: 2.062 MB / 2.041 GB, free: 88.67 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/5.119, allocations: 354.9 kB / 2.041 GB, free: 88.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/5.119, allocations: 27.98 kB / 2.041 GB, free: 88.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/5.121, allocations: 131.9 kB / 2.042 GB, free: 88.15 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/5.122, allocations: 72.45 kB / 2.042 GB, free: 88.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/5.122, allocations: 43.97 kB / 2.042 GB, free: 88.04 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001694/5.123, allocations: 0.7895 MB / 2.042 GB, free: 87.25 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.573e-06/5.123, allocations: 0 / 2.042 GB, free: 87.25 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00409/5.128, allocations: 0.8894 MB / 2.043 GB, free: 86.36 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.002615/5.13, allocations: 0.886 MB / 2.044 GB, free: 85.51 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008182/5.138, allocations: 1.988 MB / 2.046 GB, free: 83.49 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/5.139, allocations: 0 / 2.046 GB, free: 83.49 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/5.141, allocations: 0.6178 MB / 2.047 GB, free: 82.87 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005256/5.146, allocations: 0.577 MB / 2.047 GB, free: 82.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007823/5.154, allocations: 2.983 MB / 2.05 GB, free: 79.27 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/5.155, allocations: 1.207 MB / 2.051 GB, free: 78.04 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00277/5.158, allocations: 359.5 kB / 2.052 GB, free: 77.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/5.159, allocations: 127.4 kB / 2.052 GB, free: 77.58 MB / 0.9323 GB Notification: Performance of SimCode: time 1.382e-06/5.159, allocations: 0 / 2.052 GB, free: 77.58 MB / 0.9323 GB Notification: Performance of Templates: time 0.1013/5.26, allocations: 30.86 MB / 2.082 GB, free: 47.06 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)