Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.668/2.668, allocations: 287.9 MB / 302.9 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 174.1 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 94.91 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004703, allocations: 16.7 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05384/0.2094, allocations: 44.85 MB / 1.023 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03012/0.2396, allocations: 15.62 MB / 1.038 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.2425, allocations: 67.5 kB / 1.038 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003997/0.2465, allocations: 0.9669 MB / 1.039 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008839/0.2554, allocations: 2.329 MB / 1.041 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.2667, allocations: 3.004 MB / 1.044 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006273/0.273, allocations: 2.771 MB / 1.047 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.2758, allocations: 1.238 MB / 1.048 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.2796, allocations: 1.366 MB / 1.049 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.2817, allocations: 0.9137 MB / 1.05 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.2821, allocations: 72 kB / 1.05 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.2866, allocations: 1.373 MB / 1.052 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008788/0.2875, allocations: 398.4 kB / 1.052 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.2884, allocations: 404.6 kB / 1.052 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004957/0.2933, allocations: 2.439 MB / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.335e-06/0.2934, allocations: 4 kB / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.718e-06/0.2934, allocations: 0 / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.586e-05/0.2934, allocations: 0 / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005328/0.2988, allocations: 2.225 MB / 1.057 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2988, allocations: 16.02 kB / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/0.3016, allocations: 485 kB / 1.057 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.306, allocations: 1.536 MB / 1.059 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004801/0.3065, allocations: 154.2 kB / 1.059 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/0.3068, allocations: 123.9 kB / 1.059 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.3107, allocations: 1.376 MB / 1.06 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.3108, allocations: 7.938 kB / 1.06 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.311, allocations: 44 kB / 1.061 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.3111, allocations: 32 kB / 1.061 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/0.315, allocations: 1.121 MB / 1.062 GB, free: 6.887 MB / 0.6823 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.5209/0.836, allocations: 7.147 MB / 1.069 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.8397, allocations: 1.413 MB / 1.07 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006154/0.8459, allocations: 3.084 MB / 1.073 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.8474, allocations: 454.2 kB / 1.073 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007057/0.8482, allocations: 92.95 kB / 1.074 GB, free: 84.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.871e-06/0.8482, allocations: 0 / 1.074 GB, free: 84.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.004555/0.8528, allocations: 1.279 MB / 1.075 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.8529, allocations: 144.9 kB / 1.075 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.8562, allocations: 1.606 MB / 1.077 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.8564, allocations: 43.84 kB / 1.077 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/0.8573, allocations: 0.8849 MB / 1.077 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.8576, allocations: 217.6 kB / 1.078 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.8577, allocations: 16.56 kB / 1.078 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8578, allocations: 351.2 kB / 1.078 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.8592, allocations: 392.6 kB / 1.078 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.861, allocations: 0.7848 MB / 1.079 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.8627, allocations: 0.495 MB / 1.08 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.8628, allocations: 3.906 kB / 1.08 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004382/0.8672, allocations: 1.336 MB / 1.081 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009072/0.8681, allocations: 4.372 MB / 1.085 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/0.8682, allocations: 13.17 kB / 1.085 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.324e-05/0.8683, allocations: 21.62 kB / 1.085 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.8699, allocations: 270.3 kB / 1.085 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.285e-05/0.87, allocations: 23.06 kB / 1.085 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.8719, allocations: 135.3 kB / 1.086 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.8722, allocations: 56.11 kB / 1.086 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8722, allocations: 8.062 kB / 1.086 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003731/0.8759, allocations: 1.159 MB / 1.087 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.333e-05/0.876, allocations: 13.03 kB / 1.087 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.8761, allocations: 17.25 kB / 1.087 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.8775, allocations: 268.9 kB / 1.087 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.761e-05/0.8776, allocations: 26.02 kB / 1.087 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.8794, allocations: 129 kB / 1.087 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.8797, allocations: 54.33 kB / 1.087 GB, free: 75.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.8808, allocations: 486 kB / 1.088 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.8812, allocations: 166.3 kB / 1.088 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.8849, allocations: 1.174 MB / 1.089 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.885, allocations: 8.75 kB / 1.089 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.885, allocations: 1.094 kB / 1.089 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002659/0.8877, allocations: 0.9953 MB / 1.09 GB, free: 74.34 MB / 0.6823 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.006634/0.8943, allocations: 2.474 MB / 1.092 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.8944, allocations: 2.047 kB / 1.092 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8954, allocations: 156.9 kB / 1.093 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.8957, allocations: 37.16 kB / 1.093 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.8958, allocations: 31.06 kB / 1.093 GB, free: 73.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.8972, allocations: 1.375 MB / 1.094 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.198e-06/0.8972, allocations: 1.094 kB / 1.094 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.902, allocations: 1.639 MB / 1.096 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.903, allocations: 361.7 kB / 1.096 GB, free: 70.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.9034, allocations: 21.92 kB / 1.096 GB, free: 70.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.905, allocations: 121.2 kB / 1.096 GB, free: 70.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.9052, allocations: 54.41 kB / 1.096 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.9053, allocations: 35.62 kB / 1.096 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002413/0.9077, allocations: 1.137 MB / 1.097 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.74e-07/0.9078, allocations: 1.406 kB / 1.097 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004076/0.9118, allocations: 0.9374 MB / 1.098 GB, free: 70.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002488/0.9144, allocations: 0.7737 MB / 1.099 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005104/0.9195, allocations: 1.709 MB / 1.101 GB, free: 69.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.94e-06/0.9196, allocations: 1.156 kB / 1.101 GB, free: 69.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.9213, allocations: 0.569 MB / 1.101 GB, free: 68.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/0.9256, allocations: 0.7321 MB / 1.102 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/0.9334, allocations: 3.767 MB / 1.106 GB, free: 66.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.9347, allocations: 1.411 MB / 1.107 GB, free: 65.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002809/0.9376, allocations: 433 kB / 1.107 GB, free: 65.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/0.9382, allocations: 146 kB / 1.108 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.965e-06/0.9382, allocations: 0 / 1.108 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.07134/1.01, allocations: 31.69 MB / 1.138 GB, free: 45.08 MB / 0.6823 GB