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.301/2.301, 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.001487/0.001487, allocations: 191.2 kB / 319.9 MB, free: 3.09 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.038/2.038, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001132/0.001132, allocations: 82.72 kB / 0.6751 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.615e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.208, allocations: 106.3 MB / 0.8887 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.192/7.4, allocations: 2.24 GB / 3.128 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/7.401, allocations: 90.8 kB / 3.129 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.58/17.99, allocations: 1.903 GB / 5.032 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.875e-06/17.99, allocations: 0 / 5.032 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004774/17.99, allocations: 65.94 kB / 5.032 GB, free: 111.7 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.009696/18, allocations: 2.617 MB / 5.034 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/18, allocations: 11.78 kB / 5.034 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008213/18, allocations: 0.7845 MB / 5.035 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009832/18.01, allocations: 2.351 MB / 5.037 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/18.01, allocations: 57.88 kB / 5.037 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006378/18.01, allocations: 101.2 kB / 5.038 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004035/18.02, allocations: 1.271 MB / 5.039 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00446/18.02, allocations: 1.511 MB / 5.04 GB, free: 110 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.469e-05/18.02, allocations: 10.19 kB / 5.04 GB, free: 110 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/18.02, allocations: 0 / 5.04 GB, free: 110 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/18.02, allocations: 54.28 kB / 5.04 GB, free: 110 MB / 0.9167 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.01729/18.04, allocations: 7.8 MB / 5.048 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/18.04, allocations: 1.601 MB / 5.05 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/18.04, allocations: 0.5316 MB / 5.05 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/18.05, allocations: 218.4 kB / 5.05 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/18.05, allocations: 0.5476 MB / 5.051 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001505/18.05, allocations: 94.91 kB / 5.051 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 6.061e-06/18.05, allocations: 0 / 5.051 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.009839/18.06, allocations: 2.75 MB / 5.054 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/18.06, allocations: 165.3 kB / 5.054 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/18.06, allocations: 1.212 MB / 5.055 GB, free: 104 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003503/18.06, allocations: 29.17 kB / 5.055 GB, free: 104 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/18.06, allocations: 0.9639 MB / 5.056 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/18.06, allocations: 356.8 kB / 5.056 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/18.06, allocations: 0 / 5.056 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001049/18.06, allocations: 350.9 kB / 5.057 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009535/18.06, allocations: 423.3 kB / 5.057 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/18.06, allocations: 0.7725 MB / 5.058 GB, free: 102.8 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.007951/18.07, allocations: 1.771 MB / 5.059 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/18.07, allocations: 3.812 kB / 5.059 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003915/18.08, allocations: 1.4 MB / 5.061 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006352/18.08, allocations: 3.038 MB / 5.064 GB, free: 99.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/18.08, allocations: 15.23 kB / 5.064 GB, free: 99.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/18.08, allocations: 44.5 kB / 5.064 GB, free: 99.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/18.08, allocations: 287.5 kB / 5.064 GB, free: 99.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/18.08, allocations: 1.444 MB / 5.065 GB, free: 98.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005256/18.09, allocations: 140 kB / 5.066 GB, free: 98.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/18.09, allocations: 55.89 kB / 5.066 GB, free: 98.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/18.09, allocations: 3.781 kB / 5.066 GB, free: 98.05 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005975/18.09, allocations: 1.165 MB / 5.067 GB, free: 98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.697e-05/18.09, allocations: 11.53 kB / 5.067 GB, free: 98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/18.09, allocations: 47.92 kB / 5.067 GB, free: 98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/18.1, allocations: 280.6 kB / 5.067 GB, free: 98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/18.1, allocations: 1.436 MB / 5.069 GB, free: 96.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/18.11, allocations: 135.7 kB / 5.069 GB, free: 96.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004234/18.11, allocations: 54.48 kB / 5.069 GB, free: 96.73 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000725/18.11, allocations: 146.2 kB / 5.069 GB, free: 96.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007799/18.11, allocations: 192.7 kB / 5.069 GB, free: 96.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/18.11, allocations: 1.2 MB / 5.07 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/18.11, allocations: 11.78 kB / 5.07 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/18.11, allocations: 0 / 5.07 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002483/18.11, allocations: 0.9808 MB / 5.071 GB, free: 96.29 MB / 0.9167 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.008796/18.12, allocations: 3.152 MB / 5.074 GB, free: 95.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/18.12, allocations: 2.188 kB / 5.074 GB, free: 95.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/18.12, allocations: 233.9 kB / 5.074 GB, free: 95.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003556/18.13, allocations: 71.91 kB / 5.075 GB, free: 95.63 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/18.13, allocations: 16.78 kB / 5.075 GB, free: 95.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/18.13, allocations: 2.657 MB / 5.077 GB, free: 93.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/18.13, allocations: 4.688 kB / 5.077 GB, free: 93.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004596/18.13, allocations: 1.934 MB / 5.079 GB, free: 92.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/18.13, allocations: 380.3 kB / 5.079 GB, free: 92.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004822/18.13, allocations: 7.656 kB / 5.079 GB, free: 92.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/18.14, allocations: 138.1 kB / 5.08 GB, free: 92.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/18.14, allocations: 72.55 kB / 5.08 GB, free: 92.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/18.14, allocations: 42.86 kB / 5.08 GB, free: 92.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001943/18.14, allocations: 0.9123 MB / 5.081 GB, free: 92.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.21e-07/18.14, allocations: 6.031 kB / 5.081 GB, free: 92.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006502/18.15, allocations: 1.164 MB / 5.082 GB, free: 92.4 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006877/18.15, allocations: 3.646 MB / 5.085 GB, free: 91.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004778/18.16, allocations: 2.122 MB / 5.087 GB, free: 90.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/18.16, allocations: 4.656 kB / 5.087 GB, free: 90.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/18.16, allocations: 0.7182 MB / 5.088 GB, free: 90.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007858/18.17, allocations: 0.9353 MB / 5.089 GB, free: 90.37 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/18.18, allocations: 3.163 MB / 5.092 GB, free: 89.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/18.18, allocations: 1.64 MB / 5.094 GB, free: 88.81 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005409/18.18, allocations: 0.6863 MB / 5.094 GB, free: 88.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/18.19, allocations: 117.4 kB / 5.094 GB, free: 88.79 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/18.19, allocations: 0 / 5.094 GB, free: 88.79 MB / 0.9167 GB Notification: Performance of Templates: time 0.1326/18.32, allocations: 53.57 MB / 5.147 GB, free: 86 MB / 0.9167 GB