Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.075/2.075, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 181.8 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.273/2.273, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 98.34 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004747, allocations: 12.81 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.204, allocations: 106.2 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.409, allocations: 416.2 MB / 1.305 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.409, allocations: 95.89 kB / 1.305 GB, free: 1.941 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.246/4.655, allocations: 0.5986 GB / 1.904 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.864e-06/4.655, allocations: 0 / 1.904 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002163/4.655, allocations: 40.39 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.007418/4.663, allocations: 2.116 MB / 1.906 GB, free: 173 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/4.663, allocations: 10.91 kB / 1.906 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/4.666, allocations: 385 kB / 1.906 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/4.67, allocations: 1.321 MB / 1.908 GB, free: 172 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/4.671, allocations: 210.2 kB / 1.908 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004648/4.672, allocations: 101.4 kB / 1.908 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/4.676, allocations: 1.164 MB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/4.676, allocations: 7.359 kB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/4.676, allocations: 40.59 kB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/4.676, allocations: 18.78 kB / 1.909 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004959/4.681, allocations: 1.081 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.01311/4.694, allocations: 4.832 MB / 1.915 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/4.699, allocations: 0.9345 MB / 1.916 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/4.7, allocations: 1.063 MB / 1.917 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/4.703, allocations: 0.5569 MB / 1.918 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 4.508e-06/4.703, allocations: 0 / 1.918 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.006894/4.71, allocations: 1.435 MB / 1.919 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/4.71, allocations: 193.7 kB / 1.919 GB, free: 164 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/4.712, allocations: 1.038 MB / 1.92 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000371/4.712, allocations: 49.23 kB / 1.92 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006516/4.713, allocations: 0.5953 MB / 1.921 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/4.713, allocations: 247.8 kB / 1.921 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/4.714, allocations: 22.47 kB / 1.921 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/4.714, allocations: 344.7 kB / 1.921 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/4.716, allocations: 469.2 kB / 1.922 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/4.718, allocations: 0.7479 MB / 1.923 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/4.721, allocations: 0.5396 MB / 1.923 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/4.721, allocations: 0 / 1.923 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006079/4.727, allocations: 1.364 MB / 1.924 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/4.728, allocations: 1.635 MB / 1.926 GB, free: 159 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/4.728, allocations: 9.859 kB / 1.926 GB, free: 159 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-05/4.728, allocations: 14.31 kB / 1.926 GB, free: 159 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/4.731, allocations: 305.4 kB / 1.926 GB, free: 159 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007637/4.731, allocations: 1.185 MB / 1.927 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/4.734, allocations: 230.8 kB / 1.928 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/4.735, allocations: 53.56 kB / 1.928 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/4.735, allocations: 3.188 kB / 1.928 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005159/4.74, allocations: 1.215 MB / 1.929 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/4.74, allocations: 11.89 kB / 1.929 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/4.74, allocations: 10.25 kB / 1.929 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/4.742, allocations: 285.7 kB / 1.929 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/4.742, allocations: 10.73 kB / 1.929 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/4.745, allocations: 205.8 kB / 1.929 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/4.745, allocations: 52.56 kB / 1.929 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.001024/4.746, allocations: 388.4 kB / 1.93 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005195/4.746, allocations: 145.7 kB / 1.93 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00585/4.752, allocations: 1.346 MB / 1.931 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/4.752, allocations: 10.47 kB / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/4.752, allocations: 0 / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/4.752, allocations: 3.984 kB / 1.931 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008607/4.761, allocations: 2.598 MB / 1.934 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/4.761, allocations: 7.938 kB / 1.934 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/4.763, allocations: 228.6 kB / 1.934 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/4.763, allocations: 8 kB / 1.934 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/4.763, allocations: 27.97 kB / 1.934 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005521/4.764, allocations: 1.186 MB / 1.935 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/4.764, allocations: 0 / 1.935 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/4.772, allocations: 2.067 MB / 1.937 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/4.773, allocations: 362.9 kB / 1.938 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005527/4.774, allocations: 21.97 kB / 1.938 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/4.777, allocations: 141.3 kB / 1.938 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003815/4.777, allocations: 67.62 kB / 1.938 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/4.777, allocations: 35.97 kB / 1.938 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001992/4.779, allocations: 0.7973 MB / 1.939 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.41e-07/4.779, allocations: 0 / 1.939 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004554/4.784, allocations: 0.8873 MB / 1.94 GB, free: 147.8 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.00263/4.787, allocations: 0.8763 MB / 1.94 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01008/4.797, allocations: 1.991 MB / 1.942 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/4.797, allocations: 0 / 1.942 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002536/4.799, allocations: 0.6133 MB / 1.943 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/4.804, allocations: 0.5751 MB / 1.943 GB, free: 144 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006931/4.811, allocations: 2.967 MB / 1.946 GB, free: 141 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/4.812, allocations: 1.203 MB / 1.948 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002592/4.815, allocations: 368.8 kB / 1.948 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/4.815, allocations: 119.4 kB / 1.948 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.143e-06/4.815, allocations: 0 / 1.948 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.07333/4.889, allocations: 30.85 MB / 1.978 GB, free: 109.3 MB / 0.8855 GB