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.11/2.11, allocations: 251 MB / 265.9 MB, free: 11.68 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.001679/0.001678, allocations: 176.5 kB / 325.5 MB, free: 2.898 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.371/2.371, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001219/0.001219, allocations: 98.23 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005118, allocations: 13.44 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.494, allocations: 416.2 MB / 1.305 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.495, allocations: 98.14 kB / 1.305 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.336/4.831, allocations: 0.5986 GB / 1.904 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.805e-06/4.831, allocations: 0 / 1.904 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002084/4.832, allocations: 44.88 kB / 1.904 GB, free: 174.6 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.00752/4.839, allocations: 2.117 MB / 1.906 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/4.839, allocations: 10.81 kB / 1.906 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004669/4.84, allocations: 135.1 kB / 1.906 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/4.843, allocations: 392.4 kB / 1.907 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004542/4.847, allocations: 1.322 MB / 1.908 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/4.848, allocations: 211.9 kB / 1.908 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/4.849, allocations: 104.1 kB / 1.908 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/4.853, allocations: 1.164 MB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/4.853, allocations: 3.25 kB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/4.853, allocations: 35.31 kB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/4.853, allocations: 21 kB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/4.857, allocations: 1.082 MB / 1.91 GB, free: 170.6 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.01234/4.87, allocations: 4.84 MB / 1.915 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/4.874, allocations: 0.942 MB / 1.916 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/4.875, allocations: 1.055 MB / 1.917 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/4.878, allocations: 0.5544 MB / 1.918 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 4.939e-06/4.878, allocations: 0 / 1.918 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.006632/4.884, allocations: 1.439 MB / 1.919 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/4.885, allocations: 187.6 kB / 1.919 GB, free: 164 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/4.887, allocations: 1.041 MB / 1.92 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/4.887, allocations: 49.08 kB / 1.92 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/4.888, allocations: 0.5956 MB / 1.921 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/4.888, allocations: 247.3 kB / 1.921 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/4.888, allocations: 23.75 kB / 1.921 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001002/4.888, allocations: 344.2 kB / 1.921 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/4.891, allocations: 473.3 kB / 1.922 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/4.893, allocations: 0.7416 MB / 1.923 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/4.895, allocations: 0.5439 MB / 1.923 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/4.895, allocations: 6.25 kB / 1.923 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005622/4.901, allocations: 1.358 MB / 1.924 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004178/4.901, allocations: 1.636 MB / 1.926 GB, free: 159 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/4.902, allocations: 14 kB / 1.926 GB, free: 159 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/4.902, allocations: 10.69 kB / 1.926 GB, free: 159 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/4.904, allocations: 299.8 kB / 1.926 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007925/4.905, allocations: 1.193 MB / 1.928 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/4.908, allocations: 219.8 kB / 1.928 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/4.908, allocations: 52.12 kB / 1.928 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/4.908, allocations: 3.938 kB / 1.928 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004989/4.913, allocations: 1.223 MB / 1.929 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/4.913, allocations: 15.5 kB / 1.929 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/4.913, allocations: 6.438 kB / 1.929 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/4.916, allocations: 280.2 kB / 1.929 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/4.916, allocations: 11.86 kB / 1.929 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/4.918, allocations: 200 kB / 1.929 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/4.919, allocations: 56.2 kB / 1.93 GB, free: 156.9 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.001007/4.92, allocations: 386.7 kB / 1.93 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/4.92, allocations: 140.8 kB / 1.93 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/4.925, allocations: 1.348 MB / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/4.925, allocations: 7.281 kB / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/4.925, allocations: 3.75 kB / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/4.926, allocations: 10.86 kB / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007897/4.933, allocations: 2.598 MB / 1.934 GB, free: 154 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/4.933, allocations: 3.656 kB / 1.934 GB, free: 154 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/4.935, allocations: 230.3 kB / 1.934 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/4.936, allocations: 6.625 kB / 1.934 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/4.936, allocations: 31.97 kB / 1.934 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005652/4.936, allocations: 1.182 MB / 1.935 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/4.936, allocations: 4 kB / 1.935 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007181/4.943, allocations: 2.067 MB / 1.937 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/4.945, allocations: 361.9 kB / 1.938 GB, free: 150 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/4.945, allocations: 19.09 kB / 1.938 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/4.948, allocations: 141.1 kB / 1.938 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/4.948, allocations: 72.44 kB / 1.938 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/4.948, allocations: 39.97 kB / 1.938 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002483/4.951, allocations: 0.7922 MB / 1.939 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.292e-06/4.951, allocations: 0 / 1.939 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006758/4.958, allocations: 0.8777 MB / 1.94 GB, free: 148 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.0166/4.974, allocations: 3.934 MB / 1.943 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01143/4.986, allocations: 1.986 MB / 1.945 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/4.986, allocations: 4 kB / 1.945 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/4.989, allocations: 0.6137 MB / 1.946 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006487/4.996, allocations: 0.5711 MB / 1.947 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/5.012, allocations: 6.362 MB / 1.953 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/5.013, allocations: 1.207 MB / 1.954 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004384/5.017, allocations: 358.7 kB / 1.954 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/5.02, allocations: 0.5461 MB / 1.955 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.794e-06/5.02, allocations: 4 kB / 1.955 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/5.139, allocations: 44.22 MB / 1.998 GB, free: 89.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/5.139, allocations: 283.9 kB / 1.998 GB, free: 89.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.567/9.706, allocations: 3.609 kB / 1.998 GB, free: 89.12 MB / 0.8855 GB