Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009347/0.0009347, allocations: 178.6 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008802/0.0008803, allocations: 88.25 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 14.19 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7821/0.9723, allocations: 416.5 MB / 1.308 GB, free: 14.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.9726, allocations: 96.97 kB / 1.308 GB, free: 14.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.901/2.874, allocations: 0.5956 GB / 1.904 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.883e-06/2.874, allocations: 1.594 kB / 1.904 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001317/2.874, allocations: 44.11 kB / 1.904 GB, free: 174.1 MB / 0.8855 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.003864/2.878, allocations: 2.097 MB / 1.906 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/2.878, allocations: 8.688 kB / 1.906 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/2.879, allocations: 389.6 kB / 1.906 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/2.881, allocations: 1.373 MB / 1.907 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000563/2.882, allocations: 214.4 kB / 1.908 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/2.882, allocations: 106 kB / 1.908 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/2.884, allocations: 1.17 MB / 1.909 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/2.884, allocations: 5.281 kB / 1.909 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/2.884, allocations: 34.91 kB / 1.909 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/2.884, allocations: 24.03 kB / 1.909 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/2.886, allocations: 1.084 MB / 1.91 GB, free: 170.1 MB / 0.8855 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.005763/2.892, allocations: 4.793 MB / 1.915 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/2.894, allocations: 0.9363 MB / 1.916 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/2.895, allocations: 475.2 kB / 1.916 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008175/2.895, allocations: 1.056 MB / 1.917 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/2.897, allocations: 0.5634 MB / 1.918 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.046e-06/2.897, allocations: 1.969 kB / 1.918 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.003211/2.9, allocations: 1.44 MB / 1.919 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/2.9, allocations: 188.2 kB / 1.919 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/2.901, allocations: 1.185 MB / 1.92 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/2.901, allocations: 53.05 kB / 1.92 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/2.902, allocations: 0.5917 MB / 1.921 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/2.902, allocations: 246.9 kB / 1.921 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/2.902, allocations: 22.91 kB / 1.921 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/2.902, allocations: 341.2 kB / 1.922 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009964/2.903, allocations: 472 kB / 1.922 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/2.904, allocations: 0.7543 MB / 1.923 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/2.906, allocations: 1.074 MB / 1.924 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/2.906, allocations: 7.094 kB / 1.924 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002691/2.909, allocations: 1.369 MB / 1.925 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/2.909, allocations: 241.9 kB / 1.925 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/2.909, allocations: 6.938 kB / 1.925 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/2.909, allocations: 8.906 kB / 1.925 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/2.91, allocations: 315.6 kB / 1.926 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004851/2.911, allocations: 1.209 MB / 1.927 GB, free: 158 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/2.912, allocations: 212.9 kB / 1.927 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/2.912, allocations: 52.84 kB / 1.927 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/2.912, allocations: 3.656 kB / 1.927 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002288/2.915, allocations: 1.22 MB / 1.928 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/2.915, allocations: 5.969 kB / 1.928 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/2.915, allocations: 10.03 kB / 1.928 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/2.916, allocations: 287.8 kB / 1.929 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/2.916, allocations: 17.47 kB / 1.929 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/2.917, allocations: 201.7 kB / 1.929 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.216e-05/2.917, allocations: 55.97 kB / 1.929 GB, free: 157.2 MB / 0.8855 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.0006289/2.918, allocations: 382.8 kB / 1.929 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/2.918, allocations: 141.7 kB / 1.929 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/2.92, allocations: 1.341 MB / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/2.92, allocations: 22.59 kB / 1.931 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.92, allocations: 0 / 1.931 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/2.92, allocations: 3.984 kB / 1.931 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/2.924, allocations: 2.575 MB / 1.933 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.924, allocations: 3.984 kB / 1.933 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/2.925, allocations: 233.6 kB / 1.933 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/2.925, allocations: 4 kB / 1.933 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/2.925, allocations: 29.73 kB / 1.934 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003373/2.926, allocations: 1.186 MB / 1.935 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/2.926, allocations: 11.92 kB / 1.935 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/2.929, allocations: 1.948 MB / 1.937 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005246/2.929, allocations: 350.8 kB / 1.937 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/2.93, allocations: 27.39 kB / 1.937 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/2.931, allocations: 124.3 kB / 1.937 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/2.931, allocations: 68.55 kB / 1.937 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/2.931, allocations: 50.84 kB / 1.937 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001007/2.932, allocations: 0.7817 MB / 1.938 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.4e-07/2.932, allocations: 0 / 1.938 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002406/2.934, allocations: 0.87 MB / 1.939 GB, free: 147.4 MB / 0.8855 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.001901/2.936, allocations: 0.8927 MB / 1.94 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004147/2.94, allocations: 2.008 MB / 1.942 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/2.94, allocations: 3.938 kB / 1.942 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/2.942, allocations: 0.6105 MB / 1.942 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/2.945, allocations: 0.5845 MB / 1.943 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/2.949, allocations: 2.97 MB / 1.946 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/2.95, allocations: 1.176 MB / 1.947 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001587/2.951, allocations: 365.7 kB / 1.947 GB, free: 139 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/2.952, allocations: 131.3 kB / 1.947 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.012e-06/2.952, allocations: 0 / 1.947 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.04218/2.994, allocations: 31.28 MB / 1.978 GB, free: 108.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)