Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.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.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.303/2.303, 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.001589/0.001589, allocations: 180.5 kB / 325.6 MB, free: 2.809 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.396/2.396, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001193/0.001193, allocations: 92.17 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004985, allocations: 17.22 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized): time 1.111/1.322, allocations: 262.6 MB / 1.155 GB, free: 2.098 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04456/1.367, allocations: 19.43 MB / 1.174 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005579/1.373, allocations: 90.31 kB / 1.174 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.007539/1.38, allocations: 1.423 MB / 1.176 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.02399/1.404, allocations: 4.136 MB / 1.18 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01386/1.418, allocations: 2.131 MB / 1.182 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.04734/1.466, allocations: 14.11 MB / 1.196 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02503/1.491, allocations: 10.5 MB / 1.206 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02068/1.511, allocations: 6.547 MB / 1.212 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01362/1.525, allocations: 4.645 MB / 1.217 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003275/1.528, allocations: 388 kB / 1.217 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/1.541, allocations: 1.697 MB / 1.219 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.005981/1.547, allocations: 2.099 MB / 1.221 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.006515/1.553, allocations: 2.271 MB / 1.223 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.03347/1.587, allocations: 18.62 MB / 1.241 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.587, allocations: 0 / 1.241 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.366e-06/1.587, allocations: 0 / 1.241 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005774/1.587, allocations: 0 / 1.241 GB, free: 1.324 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 0.04207/1.629, allocations: 10.04 MB / 1.251 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.629, allocations: 8.031 kB / 1.251 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/1.646, allocations: 1.886 MB / 1.253 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04244/1.689, allocations: 12.04 MB / 1.265 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/1.69, allocations: 496.5 kB / 1.265 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004494/1.694, allocations: 0.656 MB / 1.266 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05629/1.751, allocations: 12.73 MB / 1.278 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004296/1.751, allocations: 23.8 kB / 1.278 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003529/1.755, allocations: 260 kB / 1.279 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007144/1.755, allocations: 308.2 kB / 1.279 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04121/1.797, allocations: 12.02 MB / 1.291 GB, free: 14.46 MB / 0.823 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.1198/1.917, allocations: 49.3 MB / 1.339 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/1.935, allocations: 6.81 MB / 1.345 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/1.936, allocations: 0.7612 MB / 1.346 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/1.936, allocations: 81.44 kB / 1.346 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009015/1.945, allocations: 1.121 MB / 1.347 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=366): time 1.745e-05/1.946, allocations: 0 / 1.347 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of matching and sorting (n=372): time 0.07011/2.016, allocations: 19.19 MB / 1.366 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/2.016, allocations: 86.33 kB / 1.366 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02537/2.041, allocations: 8.68 MB / 1.375 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/2.043, allocations: 113.7 kB / 1.375 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.006918/2.05, allocations: 3.605 MB / 1.378 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003097/2.053, allocations: 1.317 MB / 1.379 GB, free: 292 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/2.054, allocations: 87.98 kB / 1.38 GB, free: 204 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0006773/2.055, allocations: 0.5033 MB / 1.38 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/2.066, allocations: 3.623 MB / 1.384 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/2.079, allocations: 4.917 MB / 1.388 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01454/2.093, allocations: 4.642 MB / 1.393 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-05/2.094, allocations: 8 kB / 1.393 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of matching and sorting (n=550) (initialization): time 0.03845/2.132, allocations: 9.212 MB / 1.402 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.248/3.38, allocations: 9.845 MB / 1.412 GB, free: 351.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.647e-05/3.38, allocations: 20.86 kB / 1.412 GB, free: 351.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/3.382, allocations: 266.7 kB / 1.412 GB, free: 351.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/3.392, allocations: 1.142 MB / 1.413 GB, free: 351.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006142/3.398, allocations: 3.54 MB / 1.416 GB, free: 350.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01415/3.412, allocations: 1.077 MB / 1.417 GB, free: 350.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/3.414, allocations: 175.8 kB / 1.418 GB, free: 350.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/3.414, allocations: 6.969 kB / 1.418 GB, free: 350.4 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02909/3.443, allocations: 8.651 MB / 1.426 GB, free: 350.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.558e-05/3.443, allocations: 19.62 kB / 1.426 GB, free: 350.2 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/3.444, allocations: 262 kB / 1.426 GB, free: 350.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/3.455, allocations: 1.141 MB / 1.427 GB, free: 350.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/3.461, allocations: 3.546 MB / 1.431 GB, free: 348.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/3.475, allocations: 1.048 MB / 1.432 GB, free: 348.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/3.477, allocations: 177.9 kB / 1.432 GB, free: 348.8 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (532): * Single equations (assignments): 525 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01378/3.491, allocations: 5.325 MB / 1.437 GB, free: 347.1 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00268/3.493, allocations: 0.6181 MB / 1.438 GB, free: 347.1 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02464/3.518, allocations: 8.156 MB / 1.446 GB, free: 344.5 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/3.518, allocations: 39.34 kB / 1.446 GB, free: 344.5 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/3.518, allocations: 3.938 kB / 1.446 GB, free: 344.5 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01776/3.536, allocations: 6.858 MB / 1.453 GB, free: 342 MB / 0.9324 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 postOpt removeSimpleEquations (simulation): time 0.05439/3.59, allocations: 19.54 MB / 1.472 GB, free: 326.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/3.59, allocations: 4 kB / 1.472 GB, free: 326.4 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0098/3.6, allocations: 1.134 MB / 1.473 GB, free: 325.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/3.601, allocations: 240.5 kB / 1.473 GB, free: 325 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009901/3.602, allocations: 128.5 kB / 1.473 GB, free: 324.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/3.608, allocations: 3.499 MB / 1.477 GB, free: 321.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/3.608, allocations: 9.016 kB / 1.477 GB, free: 321.3 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03016/3.638, allocations: 13.01 MB / 1.489 GB, free: 308.4 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007966/3.646, allocations: 2.1 MB / 1.491 GB, free: 306.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003161/3.649, allocations: 119.5 kB / 1.491 GB, free: 306.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01197/3.661, allocations: 0.8945 MB / 1.492 GB, free: 305.7 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001392/3.663, allocations: 240.1 kB / 1.493 GB, free: 305.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007304/3.663, allocations: 137.3 kB / 1.493 GB, free: 305.3 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.01529/3.679, allocations: 6.292 MB / 1.499 GB, free: 299 MB / 0.9324 GB Notification: Performance of sort global known variables: time 4.71e-07/3.679, allocations: 0 / 1.499 GB, free: 299 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.02537/3.704, allocations: 4.068 MB / 1.503 GB, free: 295 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 366 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/3.707, allocations: 0.5613 MB / 1.503 GB, free: 294.5 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.03091/3.738, allocations: 12.53 MB / 1.516 GB, free: 282 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/3.738, allocations: 4 kB / 1.516 GB, free: 282 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.009267/3.747, allocations: 3.688 MB / 1.519 GB, free: 278.3 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03452/3.781, allocations: 4.658 MB / 1.524 GB, free: 273.8 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05448/3.836, allocations: 25.59 MB / 1.549 GB, free: 248.1 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/3.849, allocations: 7.157 MB / 1.556 GB, free: 240.9 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.02769/3.876, allocations: 6.875 MB / 1.562 GB, free: 234.1 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004036/3.881, allocations: 495.2 kB / 1.563 GB, free: 233.6 MB / 0.9324 GB Notification: Performance of SimCode: time 1.332e-06/3.881, allocations: 0 / 1.563 GB, free: 233.6 MB / 0.9324 GB Notification: Performance of Templates: time 0.3574/4.238, allocations: 169 MB / 1.728 GB, free: 65.23 MB / 0.9324 GB