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.214/2.214, allocations: 248.5 MB / 261.1 MB, free: 5.965 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.001553/0.001552, allocations: 193.8 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001074/0.001073, allocations: 102.3 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.206e-05/4.21e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.843/2.043, allocations: 416.1 MB / 1.297 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/2.043, allocations: 92.64 kB / 1.297 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.61/4.653, allocations: 0.5968 GB / 1.894 GB, free: 28.85 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/4.653, allocations: 0 / 1.894 GB, free: 28.85 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002743/4.653, allocations: 39.98 kB / 1.894 GB, free: 28.81 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.006281/4.66, allocations: 1.836 MB / 1.896 GB, free: 26.92 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/4.66, allocations: 11.97 kB / 1.896 GB, free: 26.91 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005663/4.66, allocations: 139.3 kB / 1.896 GB, free: 26.76 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/4.664, allocations: 385.6 kB / 1.896 GB, free: 26.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004792/4.669, allocations: 1.305 MB / 1.898 GB, free: 25.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001188/4.67, allocations: 222.2 kB / 1.898 GB, free: 24.81 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004056/4.67, allocations: 100 kB / 1.898 GB, free: 24.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/4.673, allocations: 1.027 MB / 1.899 GB, free: 23.63 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.473e-05/4.673, allocations: 0 / 1.899 GB, free: 23.63 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/4.674, allocations: 36 kB / 1.899 GB, free: 23.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/4.674, allocations: 24 kB / 1.899 GB, free: 23.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/4.676, allocations: 0.7966 MB / 1.9 GB, free: 22.78 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.01319/4.69, allocations: 4.842 MB / 1.904 GB, free: 17.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/4.691, allocations: 0.6286 MB / 1.905 GB, free: 17.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/4.692, allocations: 348.1 kB / 1.905 GB, free: 16.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/4.694, allocations: 1.053 MB / 1.906 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/4.695, allocations: 430.1 kB / 1.907 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.148e-06/4.695, allocations: 0 / 1.907 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.00243/4.697, allocations: 0.7679 MB / 1.908 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/4.697, allocations: 204.7 kB / 1.908 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/4.7, allocations: 1.015 MB / 1.909 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003446/4.7, allocations: 53.69 kB / 1.909 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/4.701, allocations: 0.5957 MB / 1.909 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/4.701, allocations: 248.3 kB / 1.91 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/4.701, allocations: 20 kB / 1.91 GB, free: 12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/4.701, allocations: 345.9 kB / 1.91 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009115/4.702, allocations: 326 kB / 1.91 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/4.703, allocations: 0.607 MB / 1.911 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/4.704, allocations: 420.4 kB / 1.911 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/4.704, allocations: 0 / 1.911 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003103/4.707, allocations: 1.087 MB / 1.912 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003838/4.708, allocations: 1.63 MB / 1.914 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/4.708, allocations: 4 kB / 1.914 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/4.708, allocations: 12 kB / 1.914 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/4.711, allocations: 303.5 kB / 1.914 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000774/4.712, allocations: 1.203 MB / 1.915 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/4.715, allocations: 214.9 kB / 1.916 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/4.715, allocations: 63.95 kB / 1.916 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/4.715, allocations: 4 kB / 1.916 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002587/4.718, allocations: 0.9389 MB / 1.917 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/4.718, allocations: 11.97 kB / 1.917 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/4.718, allocations: 8 kB / 1.917 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/4.72, allocations: 287.6 kB / 1.917 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/4.72, allocations: 8 kB / 1.917 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/4.723, allocations: 199.1 kB / 1.917 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/4.723, allocations: 55.95 kB / 1.917 GB, free: 4.039 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.0004391/4.724, allocations: 169.9 kB / 1.917 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/4.724, allocations: 146.2 kB / 1.917 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/4.727, allocations: 1.067 MB / 1.918 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/4.727, allocations: 8 kB / 1.918 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/4.727, allocations: 0 / 1.918 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/4.727, allocations: 11.92 kB / 1.918 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/4.733, allocations: 2.308 MB / 1.921 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/4.733, allocations: 16.2 kB / 1.921 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/4.735, allocations: 219.7 kB / 1.921 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6532/5.388, allocations: 4.391 kB / 1.921 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003163/5.389, allocations: 27.7 kB / 1.921 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/5.389, allocations: 1.183 MB / 1.922 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/5.39, allocations: 4.656 kB / 1.922 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/5.394, allocations: 1.651 MB / 1.924 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/5.395, allocations: 366.8 kB / 1.924 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/5.396, allocations: 24.48 kB / 1.924 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/5.398, allocations: 129 kB / 1.924 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/5.398, allocations: 65.7 kB / 1.924 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/5.399, allocations: 38.83 kB / 1.924 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001723/5.4, allocations: 0.7803 MB / 1.925 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.92e-07/5.4, allocations: 2.156 kB / 1.925 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004148/5.404, allocations: 0.8838 MB / 1.926 GB, free: 136.2 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.007316/5.412, allocations: 3.513 MB / 1.929 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005302/5.417, allocations: 1.615 MB / 1.931 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/5.417, allocations: 0.5312 kB / 1.931 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/5.419, allocations: 490.5 kB / 1.931 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/5.425, allocations: 0.5681 MB / 1.932 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/5.434, allocations: 2.218 MB / 1.934 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/5.435, allocations: 1.207 MB / 1.935 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003544/5.439, allocations: 426.8 kB / 1.936 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/5.44, allocations: 0.522 MB / 1.936 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.323e-06/5.44, allocations: 0 / 1.936 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/5.578, allocations: 47.31 MB / 1.982 GB, free: 132 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/5.578, allocations: 261.3 kB / 1.983 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.691/10.27, allocations: 3.188 kB / 1.983 GB, free: 131.7 MB / 0.8698 GB