Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.91/4.91, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002543/0.002543, allocations: 361.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.169/4.169, allocations: 410.7 MB / 1.113 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001879/0.001879, allocations: 193.4 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005497/0.0005499, allocations: 20 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7313, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.923, allocations: 423.8 MB / 1.875 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.924, allocations: 102.6 kB / 1.875 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.511/5.435, allocations: 0.6115 GB / 2.487 GB, free: 179.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/5.435, allocations: 12.12 kB / 2.487 GB, free: 179.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002418/5.435, allocations: 46.55 kB / 2.487 GB, free: 179.1 MB / 0.948 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.008092/5.443, allocations: 2.106 MB / 2.489 GB, free: 178.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/5.443, allocations: 14.12 kB / 2.489 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/5.447, allocations: 387 kB / 2.489 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005111/5.452, allocations: 1.328 MB / 2.491 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/5.453, allocations: 211.9 kB / 2.491 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/5.454, allocations: 106.9 kB / 2.491 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/5.457, allocations: 1.177 MB / 2.492 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/5.457, allocations: 1.875 kB / 2.492 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/5.458, allocations: 33.81 kB / 2.492 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/5.458, allocations: 22.38 kB / 2.492 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/5.462, allocations: 1.08 MB / 2.493 GB, free: 177.6 MB / 0.948 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.01261/5.475, allocations: 4.8 MB / 2.498 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/5.479, allocations: 0.9324 MB / 2.499 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/5.482, allocations: 478.8 kB / 2.499 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/5.483, allocations: 1.06 MB / 2.5 GB, free: 174.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002602/5.486, allocations: 0.5541 MB / 2.501 GB, free: 174.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 5.39e-06/5.486, allocations: 0 / 2.501 GB, free: 174.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.007303/5.493, allocations: 1.435 MB / 2.502 GB, free: 174.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/5.493, allocations: 192.9 kB / 2.502 GB, free: 174 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/5.496, allocations: 1.186 MB / 2.503 GB, free: 173.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003869/5.496, allocations: 47.11 kB / 2.504 GB, free: 173.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/5.497, allocations: 0.596 MB / 2.504 GB, free: 173.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/5.497, allocations: 249.1 kB / 2.504 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/5.497, allocations: 23.56 kB / 2.504 GB, free: 173.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/5.497, allocations: 342.4 kB / 2.505 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/5.5, allocations: 474.6 kB / 2.505 GB, free: 173.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/5.502, allocations: 0.7571 MB / 2.506 GB, free: 172.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/5.504, allocations: 0.541 MB / 2.506 GB, free: 172.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/5.504, allocations: 0 / 2.506 GB, free: 172.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005338/5.509, allocations: 1.367 MB / 2.508 GB, free: 172.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/5.51, allocations: 240.5 kB / 2.508 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/5.51, allocations: 8.812 kB / 2.508 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/5.51, allocations: 14.42 kB / 2.508 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/5.513, allocations: 324.4 kB / 2.508 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007254/5.513, allocations: 1.194 MB / 2.509 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/5.516, allocations: 206.9 kB / 2.51 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/5.516, allocations: 60.66 kB / 2.51 GB, free: 171.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/5.516, allocations: 3.875 kB / 2.51 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004747/5.521, allocations: 1.226 MB / 2.511 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/5.521, allocations: 3.875 kB / 2.511 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/5.521, allocations: 8.062 kB / 2.511 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/5.523, allocations: 288.6 kB / 2.511 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/5.523, allocations: 17.88 kB / 2.511 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/5.526, allocations: 199.2 kB / 2.511 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/5.526, allocations: 60.11 kB / 2.511 GB, free: 171.1 MB / 0.948 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.000989/5.527, allocations: 378.2 kB / 2.512 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/5.528, allocations: 146.8 kB / 2.512 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005159/5.533, allocations: 1.344 MB / 2.513 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/5.533, allocations: 11.06 kB / 2.513 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/5.533, allocations: 0 / 2.513 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/5.533, allocations: 3.75 kB / 2.513 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007682/5.541, allocations: 2.583 MB / 2.516 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/5.541, allocations: 3.156 kB / 2.516 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/5.543, allocations: 228.3 kB / 2.516 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/5.543, allocations: 9.031 kB / 2.516 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/5.543, allocations: 31.62 kB / 2.516 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005115/5.543, allocations: 1.182 MB / 2.517 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/5.543, allocations: 3.656 kB / 2.517 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/5.55, allocations: 1.952 MB / 2.519 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/5.551, allocations: 347.9 kB / 2.519 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/5.552, allocations: 23.47 kB / 2.52 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/5.554, allocations: 136.6 kB / 2.52 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/5.554, allocations: 77.8 kB / 2.52 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/5.554, allocations: 38.55 kB / 2.52 GB, free: 168.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001642/5.556, allocations: 0.7826 MB / 2.521 GB, free: 168.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/5.556, allocations: 7.844 kB / 2.521 GB, free: 168.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004098/5.56, allocations: 0.8687 MB / 2.521 GB, free: 168.4 MB / 0.948 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.002796/5.563, allocations: 0.8816 MB / 2.522 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008796/5.572, allocations: 2.012 MB / 2.524 GB, free: 168 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/5.572, allocations: 0 / 2.524 GB, free: 168 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002731/5.574, allocations: 0.615 MB / 2.525 GB, free: 168 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/5.58, allocations: 0.5884 MB / 2.525 GB, free: 168 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008574/5.588, allocations: 3.001 MB / 2.528 GB, free: 166.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/5.589, allocations: 1.205 MB / 2.529 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00269/5.592, allocations: 363.7 kB / 2.53 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/5.592, allocations: 131.1 kB / 2.53 GB, free: 165.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/5.593, allocations: 0 / 2.53 GB, free: 165.9 MB / 0.948 GB Notification: Performance of Templates: time 0.07684/5.669, allocations: 30.88 MB / 2.56 GB, free: 164.9 MB / 0.948 GB