Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.084/2.084, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001513/0.001513, allocations: 184.3 kB / 325.6 MB, free: 2.816 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.35/2.35, 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.001066/0.001066, allocations: 104.7 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004647, allocations: 17.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.104/7.303, allocations: 2.24 GB / 3.139 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/7.303, allocations: 102.1 kB / 3.139 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.632/16.93, allocations: 1.926 GB / 5.065 GB, free: 74.15 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.276e-06/16.93, allocations: 0 / 5.065 GB, free: 74.15 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004714/16.94, allocations: 63.92 kB / 5.065 GB, free: 74.09 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.0129/16.95, allocations: 3.142 MB / 5.068 GB, free: 70.87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/16.95, allocations: 8.031 kB / 5.068 GB, free: 70.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008608/16.96, allocations: 0.7964 MB / 5.069 GB, free: 70.06 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/16.97, allocations: 2.368 MB / 5.071 GB, free: 67.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/16.97, allocations: 123 kB / 5.071 GB, free: 67.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007341/16.97, allocations: 168 kB / 5.071 GB, free: 67.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006/16.97, allocations: 1.815 MB / 5.073 GB, free: 65.47 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.474e-05/16.97, allocations: 0 / 5.073 GB, free: 65.47 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/16.97, allocations: 64 kB / 5.073 GB, free: 65.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-05/16.97, allocations: 50.94 kB / 5.073 GB, free: 65.36 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005803/16.98, allocations: 1.464 MB / 5.075 GB, free: 63.89 MB / 0.9167 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.01867/17, allocations: 8.08 MB / 5.082 GB, free: 55.21 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/17, allocations: 1.732 MB / 5.084 GB, free: 53.33 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/17, allocations: 212.3 kB / 5.084 GB, free: 53.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002175/17.01, allocations: 0.6453 MB / 5.085 GB, free: 52.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001563/17.01, allocations: 123.2 kB / 5.085 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 6.913e-06/17.01, allocations: 4 kB / 5.085 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.01403/17.02, allocations: 3.448 MB / 5.088 GB, free: 48.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/17.02, allocations: 171.2 kB / 5.089 GB, free: 48.57 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/17.03, allocations: 1.338 MB / 5.09 GB, free: 47.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004062/17.03, allocations: 57.69 kB / 5.09 GB, free: 47.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/17.03, allocations: 0.9755 MB / 5.091 GB, free: 46.15 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005954/17.03, allocations: 366.7 kB / 5.091 GB, free: 45.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/17.03, allocations: 31.94 kB / 5.091 GB, free: 45.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001132/17.03, allocations: 353.9 kB / 5.092 GB, free: 45.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/17.03, allocations: 494.3 kB / 5.092 GB, free: 44.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/17.03, allocations: 0.8636 MB / 5.093 GB, free: 43.9 MB / 0.9167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0166/17.05, allocations: 2.295 MB / 5.095 GB, free: 41.58 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/17.05, allocations: 4 kB / 5.095 GB, free: 41.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005305/17.05, allocations: 1.591 MB / 5.097 GB, free: 39.98 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006979/17.05, allocations: 3.036 MB / 5.1 GB, free: 36.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/17.05, allocations: 15.92 kB / 5.1 GB, free: 36.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/17.05, allocations: 52.84 kB / 5.1 GB, free: 36.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/17.06, allocations: 279.6 kB / 5.1 GB, free: 36.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/17.06, allocations: 1.565 MB / 5.102 GB, free: 34.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/17.06, allocations: 167.7 kB / 5.102 GB, free: 34.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/17.06, allocations: 56.06 kB / 5.102 GB, free: 34.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/17.06, allocations: 4.625 kB / 5.102 GB, free: 34.44 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004505/17.07, allocations: 1.396 MB / 5.103 GB, free: 33.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/17.07, allocations: 12 kB / 5.103 GB, free: 33.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/17.07, allocations: 56.83 kB / 5.103 GB, free: 32.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/17.07, allocations: 272.2 kB / 5.103 GB, free: 32.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/17.07, allocations: 1.569 MB / 5.105 GB, free: 30.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/17.08, allocations: 167.7 kB / 5.105 GB, free: 30.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/17.08, allocations: 55.22 kB / 5.105 GB, free: 30.78 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (147): * Single equations (assignments): 142 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001973/17.08, allocations: 0.5982 MB / 5.106 GB, free: 30.17 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006295/17.08, allocations: 201.5 kB / 5.106 GB, free: 29.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004927/17.08, allocations: 1.358 MB / 5.107 GB, free: 28.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/17.08, allocations: 12 kB / 5.107 GB, free: 28.58 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/17.08, allocations: 0 / 5.107 GB, free: 28.58 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003808/17.09, allocations: 1.11 MB / 5.108 GB, free: 27.46 MB / 0.9167 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.01036/17.1, allocations: 3.419 MB / 5.112 GB, free: 23.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/17.1, allocations: 0 / 5.112 GB, free: 23.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/17.1, allocations: 235.8 kB / 5.112 GB, free: 23.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/17.1, allocations: 77.67 kB / 5.112 GB, free: 23.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/17.1, allocations: 27.98 kB / 5.112 GB, free: 23.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/17.1, allocations: 2.935 MB / 5.115 GB, free: 20.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/17.1, allocations: 0 / 5.115 GB, free: 20.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006292/17.11, allocations: 2.145 MB / 5.117 GB, free: 18.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/17.11, allocations: 382.5 kB / 5.117 GB, free: 17.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006031/17.11, allocations: 24 kB / 5.117 GB, free: 17.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/17.11, allocations: 163.7 kB / 5.118 GB, free: 17.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/17.11, allocations: 76.84 kB / 5.118 GB, free: 17.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/17.12, allocations: 39.97 kB / 5.118 GB, free: 17.47 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002549/17.12, allocations: 1.04 MB / 5.119 GB, free: 16.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.01e-07/17.12, allocations: 4 kB / 5.119 GB, free: 16.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007008/17.12, allocations: 1.3 MB / 5.12 GB, free: 15.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006596/17.13, allocations: 3.493 MB / 5.123 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007062/17.14, allocations: 2.34 MB / 5.126 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/17.14, allocations: 0 / 5.126 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/17.14, allocations: 0.8163 MB / 5.126 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007971/17.15, allocations: 0.9662 MB / 5.127 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/17.16, allocations: 4.856 MB / 5.132 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/17.16, allocations: 1.645 MB / 5.134 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004011/17.17, allocations: 0.5161 MB / 5.134 GB, free: 144 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008599/17.17, allocations: 139.4 kB / 5.134 GB, free: 4 kB / 0.9167 GB Notification: Performance of SimCode: time 1.133e-06/17.17, allocations: 0 / 5.134 GB, free: 4 kB / 0.9167 GB Notification: Performance of Templates: time 0.899/18.07, allocations: 68.94 MB / 5.202 GB, free: 120.9 MB / 0.9323 GB