Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 253.2 MB / 260.6 MB, free: 7.406 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 175 kB / 319.9 MB, free: 3.047 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.017/2.017, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001155/0.001154, allocations: 94.91 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.135e-05, allocations: 11.98 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 106.2 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.937/2.146, allocations: 447.1 MB / 1.325 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/2.146, allocations: 91.84 kB / 1.325 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.72/7.866, allocations: 1.13 GB / 2.455 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.196e-06/7.866, allocations: 7.469 kB / 2.455 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000329/7.867, allocations: 56.28 kB / 2.455 GB, free: 124.1 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006518/7.873, allocations: 2.074 MB / 2.457 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/7.873, allocations: 7.781 kB / 2.457 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/7.877, allocations: 457.9 kB / 2.457 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009203/7.886, allocations: 2.281 MB / 2.46 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/7.886, allocations: 40.16 kB / 2.46 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/7.887, allocations: 77.34 kB / 2.46 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002212/7.889, allocations: 0.7813 MB / 2.461 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/7.891, allocations: 1.085 MB / 2.462 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/7.891, allocations: 10.62 kB / 2.462 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/7.892, allocations: 0 / 2.462 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/7.892, allocations: 31.53 kB / 2.462 GB, free: 120.9 MB / 0.8855 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.01207/7.904, allocations: 6.683 MB / 2.468 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/7.906, allocations: 1.133 MB / 2.469 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/7.906, allocations: 299.6 kB / 2.47 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008012/7.914, allocations: 2.873 MB / 2.472 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000752/7.915, allocations: 332.8 kB / 2.473 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/7.916, allocations: 72.81 kB / 2.473 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 6.212e-06/7.916, allocations: 0 / 2.473 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.0123/7.929, allocations: 1.479 MB / 2.474 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/7.929, allocations: 165 kB / 2.474 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/7.931, allocations: 1.244 MB / 2.476 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/7.931, allocations: 25.7 kB / 2.476 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008901/7.932, allocations: 0.8822 MB / 2.476 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/7.933, allocations: 209.4 kB / 2.477 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/7.933, allocations: 0 / 2.477 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/7.933, allocations: 343 kB / 2.477 GB, free: 110 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/7.933, allocations: 265.1 kB / 2.477 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/7.934, allocations: 0.6891 MB / 2.478 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/7.945, allocations: 1.18 MB / 2.479 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/7.945, allocations: 3.906 kB / 2.479 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01259/7.958, allocations: 1.819 MB / 2.481 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/7.959, allocations: 4.544 MB / 2.485 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.339e-05/7.959, allocations: 13.31 kB / 2.485 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.668e-05/7.959, allocations: 24.42 kB / 2.485 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/7.961, allocations: 249.2 kB / 2.486 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/7.961, allocations: 27.17 kB / 2.486 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/7.963, allocations: 99.59 kB / 2.486 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/7.963, allocations: 52.83 kB / 2.486 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/7.963, allocations: 3.938 kB / 2.486 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0119/7.975, allocations: 1.603 MB / 2.487 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/7.975, allocations: 14.88 kB / 2.487 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/7.975, allocations: 22.12 kB / 2.487 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/7.977, allocations: 241.3 kB / 2.488 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/7.977, allocations: 26.52 kB / 2.488 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/7.979, allocations: 94.91 kB / 2.488 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/7.979, allocations: 54.72 kB / 2.488 GB, free: 103.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * 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.0003547/7.98, allocations: 144.2 kB / 2.488 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/7.98, allocations: 162.6 kB / 2.488 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/7.992, allocations: 1.686 MB / 2.49 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/7.992, allocations: 9.906 kB / 2.49 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/7.992, allocations: 0 / 2.49 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0109/8.003, allocations: 1.528 MB / 2.491 GB, free: 101.9 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.01504/8.019, allocations: 2.743 MB / 2.494 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/8.019, allocations: 0 / 2.494 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/8.02, allocations: 141.2 kB / 2.494 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/8.02, allocations: 26.12 kB / 2.494 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.049e-05/8.02, allocations: 19.81 kB / 2.494 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/8.021, allocations: 1.268 MB / 2.495 GB, free: 98.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/8.021, allocations: 0 / 2.495 GB, free: 98.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/8.034, allocations: 2.059 MB / 2.497 GB, free: 97.83 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/8.035, allocations: 328.1 kB / 2.498 GB, free: 97.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004253/8.036, allocations: 7.781 kB / 2.498 GB, free: 97.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/8.038, allocations: 72.98 kB / 2.498 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/8.038, allocations: 50.3 kB / 2.498 GB, free: 97.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/8.038, allocations: 33.41 kB / 2.498 GB, free: 97.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002014/8.04, allocations: 0.9235 MB / 2.499 GB, free: 97 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.41e-07/8.04, allocations: 7.062 kB / 2.499 GB, free: 97 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005953/8.046, allocations: 0.9892 MB / 2.5 GB, free: 96.74 MB / 0.8855 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) * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003371/8.049, allocations: 1.268 MB / 2.501 GB, free: 96.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002997/8.052, allocations: 1.365 MB / 2.502 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/8.052, allocations: 2.625 kB / 2.502 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/8.053, allocations: 434.1 kB / 2.503 GB, free: 95.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/8.059, allocations: 0.6213 MB / 2.503 GB, free: 95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/8.065, allocations: 2.294 MB / 2.505 GB, free: 92.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/8.067, allocations: 1.414 MB / 2.507 GB, free: 91.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004358/8.071, allocations: 0.5863 MB / 2.507 GB, free: 90.76 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/8.071, allocations: 107.3 kB / 2.508 GB, free: 90.65 MB / 0.8855 GB Notification: Performance of SimCode: time 1.402e-06/8.071, allocations: 0 / 2.508 GB, free: 90.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.08239/8.154, allocations: 32.68 MB / 2.539 GB, free: 58.84 MB / 0.8855 GB