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.73/1.73, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001225/0.001225, allocations: 181.7 kB / 371.6 MB, free: 3.418 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.877/1.877, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009869/0.0009869, allocations: 93.69 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.029e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.81/2.108, allocations: 424.8 MB / 1.395 GB, free: 252.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/2.108, allocations: 88.77 kB / 1.395 GB, free: 252.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.873/3.981, allocations: 0.6139 GB / 2.009 GB, free: 94.78 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/3.981, allocations: 0 / 2.009 GB, free: 94.78 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001592/3.981, allocations: 47.98 kB / 2.009 GB, free: 94.73 MB / 0.948 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.004371/3.986, allocations: 1.839 MB / 2.01 GB, free: 92.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/3.986, allocations: 8.031 kB / 2.01 GB, free: 92.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/3.987, allocations: 385 kB / 2.011 GB, free: 92.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/3.99, allocations: 1.305 MB / 2.012 GB, free: 91.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005752/3.991, allocations: 222.3 kB / 2.012 GB, free: 90.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/3.991, allocations: 104 kB / 2.012 GB, free: 90.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/3.993, allocations: 1.021 MB / 2.013 GB, free: 89.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/3.993, allocations: 0 / 2.013 GB, free: 89.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/3.993, allocations: 39.95 kB / 2.013 GB, free: 89.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/3.993, allocations: 20 kB / 2.013 GB, free: 89.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/3.994, allocations: 0.8005 MB / 2.014 GB, free: 88.85 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.006957/4.001, allocations: 4.829 MB / 2.019 GB, free: 83.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/4.002, allocations: 0.6313 MB / 2.02 GB, free: 83.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/4.002, allocations: 343.1 kB / 2.02 GB, free: 82.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008611/4.003, allocations: 1.064 MB / 2.021 GB, free: 81.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006335/4.004, allocations: 430.1 kB / 2.021 GB, free: 81.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.906e-06/4.004, allocations: 1.094 kB / 2.021 GB, free: 81.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001501/4.005, allocations: 0.7719 MB / 2.022 GB, free: 80.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/4.005, allocations: 196.6 kB / 2.022 GB, free: 80.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/4.006, allocations: 1.026 MB / 2.023 GB, free: 79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/4.007, allocations: 45.7 kB / 2.023 GB, free: 78.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/4.007, allocations: 0.6035 MB / 2.024 GB, free: 78.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/4.007, allocations: 248.3 kB / 2.024 GB, free: 78.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/4.007, allocations: 20 kB / 2.024 GB, free: 78.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/4.007, allocations: 341.9 kB / 2.025 GB, free: 77.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/4.008, allocations: 326 kB / 2.025 GB, free: 77.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/4.008, allocations: 0.614 MB / 2.025 GB, free: 76.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/4.009, allocations: 412.4 kB / 2.026 GB, free: 76.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/4.009, allocations: 4 kB / 2.026 GB, free: 76.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001643/4.011, allocations: 1.087 MB / 2.027 GB, free: 75.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/4.011, allocations: 1.636 MB / 2.028 GB, free: 73.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/4.011, allocations: 4 kB / 2.028 GB, free: 73.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/4.011, allocations: 11.98 kB / 2.029 GB, free: 73.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/4.012, allocations: 295.5 kB / 2.029 GB, free: 73.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/4.013, allocations: 1.195 MB / 2.03 GB, free: 71.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/4.014, allocations: 226.8 kB / 2.03 GB, free: 71.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/4.015, allocations: 51.97 kB / 2.03 GB, free: 71.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/4.015, allocations: 5.094 kB / 2.03 GB, free: 71.62 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/4.016, allocations: 0.9389 MB / 2.031 GB, free: 70.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/4.016, allocations: 8.062 kB / 2.031 GB, free: 70.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/4.016, allocations: 8 kB / 2.031 GB, free: 70.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/4.017, allocations: 287.5 kB / 2.031 GB, free: 70.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/4.017, allocations: 8 kB / 2.031 GB, free: 70.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/4.018, allocations: 203 kB / 2.032 GB, free: 70.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/4.019, allocations: 55.97 kB / 2.032 GB, free: 70.11 MB / 0.948 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 () * 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.0002682/4.019, allocations: 164.7 kB / 2.032 GB, free: 69.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/4.019, allocations: 146.2 kB / 2.032 GB, free: 69.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/4.021, allocations: 1.065 MB / 2.033 GB, free: 68.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/4.021, allocations: 12 kB / 2.033 GB, free: 68.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/4.021, allocations: 0 / 2.033 GB, free: 68.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/4.021, allocations: 7.969 kB / 2.033 GB, free: 68.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/4.024, allocations: 2.326 MB / 2.035 GB, free: 66.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/4.024, allocations: 4.25 kB / 2.035 GB, free: 66.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009817/4.025, allocations: 235.6 kB / 2.036 GB, free: 66.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/4.025, allocations: 4 kB / 2.036 GB, free: 66.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/4.025, allocations: 27.98 kB / 2.036 GB, free: 66.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003744/4.026, allocations: 1.188 MB / 2.037 GB, free: 64.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/4.026, allocations: 0 / 2.037 GB, free: 64.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/4.028, allocations: 1.653 MB / 2.038 GB, free: 63.03 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007366/4.029, allocations: 362.8 kB / 2.039 GB, free: 62.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/4.029, allocations: 20 kB / 2.039 GB, free: 62.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/4.03, allocations: 131.9 kB / 2.039 GB, free: 62.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/4.03, allocations: 68.64 kB / 2.039 GB, free: 62.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/4.03, allocations: 39.97 kB / 2.039 GB, free: 62.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001046/4.031, allocations: 0.7803 MB / 2.04 GB, free: 61.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/4.031, allocations: 3.938 kB / 2.04 GB, free: 61.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002812/4.034, allocations: 0.8817 MB / 2.041 GB, free: 60.73 MB / 0.948 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) * 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.001794/4.036, allocations: 0.894 MB / 2.041 GB, free: 59.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002626/4.038, allocations: 1.615 MB / 2.043 GB, free: 58.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/4.038, allocations: 4.625 kB / 2.043 GB, free: 58.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/4.039, allocations: 484.3 kB / 2.043 GB, free: 57.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/4.042, allocations: 0.5758 MB / 2.044 GB, free: 57.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/4.046, allocations: 1.845 MB / 2.046 GB, free: 55.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/4.046, allocations: 1.209 MB / 2.047 GB, free: 53.99 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001933/4.048, allocations: 426.6 kB / 2.047 GB, free: 53.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/4.048, allocations: 111.4 kB / 2.048 GB, free: 53.46 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/4.048, allocations: 0 / 2.048 GB, free: 53.46 MB / 0.948 GB Notification: Performance of Templates: time 0.04737/4.096, allocations: 33.92 MB / 2.081 GB, free: 19.72 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)