Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 253.2 MB / 260.6 MB, free: 7.461 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.001456/0.001455, allocations: 172.9 kB / 319.9 MB, free: 3.043 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.007/2.007, 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.001136/0.001136, allocations: 92.25 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.85e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2217, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.067/2.288, allocations: 447 MB / 1.325 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/2.289, allocations: 92.3 kB / 1.325 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.025/8.314, allocations: 1.129 GB / 2.455 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/8.314, allocations: 0 / 2.455 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003916/8.314, allocations: 59.45 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.006587/8.321, allocations: 2.068 MB / 2.457 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/8.321, allocations: 10.94 kB / 2.457 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003839/8.325, allocations: 457.2 kB / 2.457 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009638/8.335, allocations: 2.287 MB / 2.459 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.656e-05/8.335, allocations: 36.5 kB / 2.459 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/8.335, allocations: 84.53 kB / 2.459 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002371/8.338, allocations: 0.7747 MB / 2.46 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/8.34, allocations: 1.092 MB / 2.461 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/8.34, allocations: 3.969 kB / 2.461 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/8.34, allocations: 0 / 2.461 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/8.34, allocations: 28.59 kB / 2.461 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.01212/8.353, allocations: 6.678 MB / 2.468 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/8.354, allocations: 1.146 MB / 2.469 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/8.355, allocations: 304.6 kB / 2.469 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006484/8.362, allocations: 2.862 MB / 2.472 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/8.362, allocations: 340.4 kB / 2.472 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009052/8.363, allocations: 73.48 kB / 2.472 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.589e-06/8.363, allocations: 0 / 2.472 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.009215/8.373, allocations: 1.294 MB / 2.474 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/8.373, allocations: 163.7 kB / 2.474 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/8.375, allocations: 1.24 MB / 2.475 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/8.375, allocations: 29.23 kB / 2.475 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000952/8.376, allocations: 0.8835 MB / 2.476 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/8.377, allocations: 211.1 kB / 2.476 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/8.377, allocations: 2.375 kB / 2.476 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001002/8.377, allocations: 348.2 kB / 2.476 GB, free: 110 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/8.377, allocations: 260.3 kB / 2.477 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/8.378, allocations: 0.6855 MB / 2.477 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007965/8.386, allocations: 0.9953 MB / 2.478 GB, free: 109 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/8.386, allocations: 3.938 kB / 2.478 GB, free: 109 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009864/8.396, allocations: 1.643 MB / 2.48 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/8.397, allocations: 4.54 MB / 2.484 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/8.398, allocations: 12.19 kB / 2.484 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.131e-05/8.398, allocations: 28.47 kB / 2.484 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/8.399, allocations: 242.5 kB / 2.485 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/8.4, allocations: 25.83 kB / 2.485 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/8.402, allocations: 99.27 kB / 2.485 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/8.402, allocations: 53.39 kB / 2.485 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/8.402, allocations: 3.938 kB / 2.485 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009155/8.411, allocations: 1.415 MB / 2.486 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/8.411, allocations: 15.16 kB / 2.486 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/8.411, allocations: 18.91 kB / 2.486 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/8.413, allocations: 245.8 kB / 2.487 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/8.413, allocations: 26.28 kB / 2.487 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/8.415, allocations: 91.81 kB / 2.487 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/8.416, allocations: 57.69 kB / 2.487 GB, free: 103.3 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.0003828/8.416, allocations: 141.6 kB / 2.487 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/8.417, allocations: 163.8 kB / 2.487 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009399/8.426, allocations: 1.505 MB / 2.488 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/8.426, allocations: 10.05 kB / 2.488 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/8.426, allocations: 0 / 2.488 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008275/8.434, allocations: 1.348 MB / 2.49 GB, free: 102.2 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.01214/8.447, allocations: 2.553 MB / 2.492 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/8.447, allocations: 0 / 2.492 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/8.448, allocations: 133.6 kB / 2.492 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/8.448, allocations: 29.62 kB / 2.492 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/8.448, allocations: 15.61 kB / 2.492 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/8.449, allocations: 1.267 MB / 2.494 GB, free: 99.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/8.449, allocations: 7.891 kB / 2.494 GB, free: 99.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009749/8.459, allocations: 1.861 MB / 2.495 GB, free: 98.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/8.46, allocations: 330.9 kB / 2.496 GB, free: 98.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/8.461, allocations: 5.594 kB / 2.496 GB, free: 98.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/8.462, allocations: 79.98 kB / 2.496 GB, free: 98.19 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/8.463, allocations: 50.94 kB / 2.496 GB, free: 98.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/8.463, allocations: 30.53 kB / 2.496 GB, free: 98.15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001931/8.465, allocations: 0.9262 MB / 2.497 GB, free: 97.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.82e-07/8.465, allocations: 3.938 kB / 2.497 GB, free: 97.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005612/8.47, allocations: 0.993 MB / 2.498 GB, free: 97.4 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,hea.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.003502/8.474, allocations: 1.254 MB / 2.499 GB, free: 96.92 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00306/8.477, allocations: 1.358 MB / 2.5 GB, free: 96.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/8.477, allocations: 3.844 kB / 2.5 GB, free: 96.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/8.478, allocations: 444.1 kB / 2.501 GB, free: 95.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005137/8.483, allocations: 0.6341 MB / 2.501 GB, free: 95.69 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/8.49, allocations: 2.292 MB / 2.504 GB, free: 94.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/8.491, allocations: 1.409 MB / 2.505 GB, free: 93.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004179/8.495, allocations: 0.5854 MB / 2.506 GB, free: 92.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/8.496, allocations: 103.4 kB / 2.506 GB, free: 92.63 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/8.496, allocations: 4 kB / 2.506 GB, free: 92.62 MB / 0.8855 GB Notification: Performance of Templates: time 0.08057/8.576, allocations: 32.68 MB / 2.538 GB, free: 60.82 MB / 0.8855 GB