Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.295/2.295, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 178.9 kB / 315.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.001109, allocations: 92.42 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.13e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.867/2.071, allocations: 416.4 MB / 1.291 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/2.071, allocations: 90.91 kB / 1.291 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.789/4.86, allocations: 0.5936 GB / 1.884 GB, free: 40.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.485e-06/4.86, allocations: 0 / 1.884 GB, free: 40.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004008/4.861, allocations: 47.84 kB / 1.884 GB, free: 40.14 MB / 0.8698 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.01017/4.871, allocations: 1.842 MB / 1.886 GB, free: 38.26 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/4.871, allocations: 8.562 kB / 1.886 GB, free: 38.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/4.875, allocations: 389.6 kB / 1.887 GB, free: 37.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00768/4.883, allocations: 1.311 MB / 1.888 GB, free: 36.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001724/4.885, allocations: 165.9 kB / 1.888 GB, free: 36.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006743/4.886, allocations: 67.95 kB / 1.888 GB, free: 36.31 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00384/4.89, allocations: 0.7537 MB / 1.889 GB, free: 35.56 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/4.894, allocations: 0.9031 MB / 1.89 GB, free: 34.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/4.894, allocations: 0 / 1.89 GB, free: 34.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/4.894, allocations: 0 / 1.89 GB, free: 34.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/4.895, allocations: 24 kB / 1.89 GB, free: 34.57 MB / 0.8698 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.01926/4.914, allocations: 4.65 MB / 1.894 GB, free: 29.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/4.916, allocations: 0.5993 MB / 1.895 GB, free: 29.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/4.918, allocations: 315.2 kB / 1.895 GB, free: 28.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/4.92, allocations: 1.064 MB / 1.896 GB, free: 27.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/4.921, allocations: 408.5 kB / 1.897 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 7.103e-06/4.922, allocations: 0 / 1.897 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.005442/4.927, allocations: 0.8032 MB / 1.897 GB, free: 26.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.868e-05/4.927, allocations: 204.7 kB / 1.898 GB, free: 26.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/4.93, allocations: 0.8577 MB / 1.898 GB, free: 25.19 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004196/4.931, allocations: 25.7 kB / 1.899 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/4.932, allocations: 0.5948 MB / 1.899 GB, free: 24.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/4.932, allocations: 236.4 kB / 1.899 GB, free: 24.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/4.933, allocations: 4 kB / 1.899 GB, free: 24.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/4.933, allocations: 341.9 kB / 1.9 GB, free: 23.98 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/4.934, allocations: 310.6 kB / 1.9 GB, free: 23.67 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/4.936, allocations: 0.5876 MB / 1.901 GB, free: 22.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/4.94, allocations: 461.3 kB / 1.901 GB, free: 22.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/4.94, allocations: 0 / 1.901 GB, free: 22.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.007102/4.947, allocations: 1.074 MB / 1.902 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005328/4.947, allocations: 1.616 MB / 1.904 GB, free: 19.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-05/4.947, allocations: 4 kB / 1.904 GB, free: 19.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.471e-05/4.948, allocations: 16 kB / 1.904 GB, free: 19.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004362/4.952, allocations: 303.5 kB / 1.904 GB, free: 19.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/4.953, allocations: 1.211 MB / 1.905 GB, free: 18.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/4.957, allocations: 179 kB / 1.905 GB, free: 17.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/4.958, allocations: 59.95 kB / 1.905 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/4.958, allocations: 5.719 kB / 1.905 GB, free: 17.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006203/4.964, allocations: 0.905 MB / 1.906 GB, free: 17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-05/4.964, allocations: 4 kB / 1.906 GB, free: 16.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/4.964, allocations: 12 kB / 1.906 GB, free: 16.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/4.968, allocations: 292 kB / 1.906 GB, free: 16.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/4.968, allocations: 8 kB / 1.906 GB, free: 16.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/4.971, allocations: 155.2 kB / 1.907 GB, free: 16.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005376/4.972, allocations: 59.97 kB / 1.907 GB, free: 16.48 MB / 0.8698 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.0006249/4.973, allocations: 136.7 kB / 1.907 GB, free: 16.34 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005006/4.978, allocations: 0.7953 MB / 1.908 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007682/4.979, allocations: 126.4 kB / 1.908 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006604/4.985, allocations: 1.074 MB / 1.909 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/4.985, allocations: 8 kB / 1.909 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/4.985, allocations: 3.984 kB / 1.909 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/4.985, allocations: 3.984 kB / 1.909 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/4.996, allocations: 2.208 MB / 1.911 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/4.996, allocations: 4 kB / 1.911 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/4.999, allocations: 235.9 kB / 1.911 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-05/4.999, allocations: 11.95 kB / 1.911 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000304/5, allocations: 19.97 kB / 1.911 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008418/5.001, allocations: 1.18 MB / 1.912 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/5.001, allocations: 7.891 kB / 1.912 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007533/5.008, allocations: 1.644 MB / 1.914 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/5.01, allocations: 347 kB / 1.914 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006616/5.011, allocations: 4 kB / 1.914 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/5.014, allocations: 127.7 kB / 1.914 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004426/5.015, allocations: 72.62 kB / 1.914 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/5.015, allocations: 35.97 kB / 1.915 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002226/5.017, allocations: 0.6378 MB / 1.915 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.162e-06/5.017, allocations: 0 / 1.915 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006437/5.024, allocations: 0.8499 MB / 1.916 GB, free: 6.758 MB / 0.8698 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.01163/5.035, allocations: 3.508 MB / 1.919 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007192/5.043, allocations: 1.537 MB / 1.921 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/5.043, allocations: 4 kB / 1.921 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/5.045, allocations: 459.6 kB / 1.921 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006365/5.052, allocations: 471.4 kB / 1.922 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6739/5.726, allocations: 2.113 MB / 1.924 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/5.727, allocations: 1.205 MB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003638/5.73, allocations: 397.5 kB / 1.925 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/5.732, allocations: 0.5281 MB / 1.926 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/5.732, allocations: 0 / 1.926 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/5.877, allocations: 39.08 MB / 1.964 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/5.877, allocations: 218.2 kB / 1.964 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.462/10.34, allocations: 0 / 1.964 GB, free: 139.6 MB / 0.8698 GB