Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002537/0.002542, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.398/1.398, allocations: 165.8 MB / 183.1 MB, free: 5.426 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.72/3.72, allocations: 410.8 MB / 0.6001 GB, free: 15.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001832/0.001832, allocations: 194.7 kB / 0.6668 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006335, allocations: 8 kB / 0.7428 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4359, allocations: 67.45 MB / 0.8087 GB, free: 28.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.819, allocations: 408.3 MB / 1.207 GB, free: 146.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.82, allocations: 106.1 kB / 1.208 GB, free: 146.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.813/7.633, allocations: 1.127 GB / 2.334 GB, free: 60.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.405e-06/7.633, allocations: 0 / 2.334 GB, free: 60.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003039/7.633, allocations: 61.16 kB / 2.334 GB, free: 60.27 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.009177/7.643, allocations: 2.675 MB / 2.337 GB, free: 59.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/7.643, allocations: 10.72 kB / 2.337 GB, free: 59.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/7.645, allocations: 374.9 kB / 2.337 GB, free: 58.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008393/7.654, allocations: 2.374 MB / 2.34 GB, free: 58.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/7.654, allocations: 100.5 kB / 2.34 GB, free: 58.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/7.654, allocations: 140.2 kB / 2.34 GB, free: 58.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/7.658, allocations: 1.434 MB / 2.341 GB, free: 58.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/7.658, allocations: 4.438 kB / 2.341 GB, free: 58.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/7.658, allocations: 53.97 kB / 2.341 GB, free: 58.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/7.658, allocations: 30.28 kB / 2.341 GB, free: 58.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/7.662, allocations: 1.036 MB / 2.342 GB, free: 58.16 MB / 0.5886 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.01205/7.674, allocations: 7.089 MB / 2.349 GB, free: 54.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/7.677, allocations: 1.293 MB / 2.35 GB, free: 53.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/7.678, allocations: 398.6 kB / 2.351 GB, free: 53.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004783/7.683, allocations: 2.24 MB / 2.353 GB, free: 52.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/7.684, allocations: 448.2 kB / 2.353 GB, free: 52.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000939/7.685, allocations: 85.31 kB / 2.354 GB, free: 52.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=68): time 4.248e-06/7.685, allocations: 0 / 2.354 GB, free: 52.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68): time 0.004188/7.689, allocations: 1.289 MB / 2.355 GB, free: 51.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/7.69, allocations: 165.5 kB / 2.355 GB, free: 51.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/7.692, allocations: 1.439 MB / 2.356 GB, free: 51.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/7.693, allocations: 45.42 kB / 2.356 GB, free: 51.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/7.694, allocations: 0.8941 MB / 2.357 GB, free: 51.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/7.694, allocations: 236.9 kB / 2.358 GB, free: 50.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/7.694, allocations: 23.97 kB / 2.358 GB, free: 50.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/7.694, allocations: 351.7 kB / 2.358 GB, free: 50.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/7.695, allocations: 341.8 kB / 2.358 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/7.697, allocations: 0.7299 MB / 2.359 GB, free: 50.14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/7.698, allocations: 472 kB / 2.359 GB, free: 50.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/7.698, allocations: 5.938 kB / 2.359 GB, free: 50.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003741/7.702, allocations: 1.219 MB / 2.361 GB, free: 49.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/7.702, allocations: 394.5 kB / 2.361 GB, free: 49.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/7.702, allocations: 17.8 kB / 2.361 GB, free: 49.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.101e-05/7.702, allocations: 15.75 kB / 2.361 GB, free: 49.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/7.704, allocations: 246.2 kB / 2.361 GB, free: 49.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/7.704, allocations: 19.25 kB / 2.361 GB, free: 49.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/7.706, allocations: 130.9 kB / 2.361 GB, free: 49.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/7.707, allocations: 53.67 kB / 2.361 GB, free: 49.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/7.707, allocations: 10.38 kB / 2.361 GB, free: 49.48 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003261/7.71, allocations: 1.052 MB / 2.362 GB, free: 49.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/7.71, allocations: 14.12 kB / 2.362 GB, free: 49.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/7.71, allocations: 17.44 kB / 2.362 GB, free: 49.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/7.712, allocations: 243.7 kB / 2.363 GB, free: 49.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/7.712, allocations: 24.3 kB / 2.363 GB, free: 49.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/7.714, allocations: 129.2 kB / 2.363 GB, free: 49.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/7.714, allocations: 51.89 kB / 2.363 GB, free: 49.42 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (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.00129/7.716, allocations: 0.4898 MB / 2.363 GB, free: 49.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/7.716, allocations: 171.2 kB / 2.364 GB, free: 49.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/7.72, allocations: 1.16 MB / 2.365 GB, free: 48.95 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/7.72, allocations: 14.69 kB / 2.365 GB, free: 48.95 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/7.72, allocations: 0 / 2.365 GB, free: 48.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002526/7.722, allocations: 0.8569 MB / 2.366 GB, free: 48.77 MB / 0.5886 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.006522/7.729, allocations: 2.446 MB / 2.368 GB, free: 48.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/7.729, allocations: 3.625 kB / 2.368 GB, free: 48.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/7.73, allocations: 164.2 kB / 2.368 GB, free: 48.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/7.73, allocations: 27.83 kB / 2.368 GB, free: 48.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/7.731, allocations: 21.66 kB / 2.368 GB, free: 48.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009752/7.732, allocations: 1.295 MB / 2.369 GB, free: 47.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/7.732, allocations: 3.625 kB / 2.369 GB, free: 47.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/7.736, allocations: 1.59 MB / 2.371 GB, free: 46.69 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/7.737, allocations: 337.8 kB / 2.371 GB, free: 46.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/7.738, allocations: 21.84 kB / 2.371 GB, free: 46.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/7.739, allocations: 110.1 kB / 2.371 GB, free: 46.49 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/7.74, allocations: 57.89 kB / 2.371 GB, free: 46.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/7.74, allocations: 38.97 kB / 2.371 GB, free: 46.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002039/7.742, allocations: 0.9555 MB / 2.372 GB, free: 46.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/7.742, allocations: 0 / 2.372 GB, free: 46.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004715/7.747, allocations: 1.094 MB / 2.373 GB, free: 46.2 MB / 0.5886 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.vol.dynBal.U) * 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 (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002912/7.749, allocations: 1.132 MB / 2.375 GB, free: 45.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004833/7.754, allocations: 1.59 MB / 2.376 GB, free: 45.69 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/7.754, allocations: 0 / 2.376 GB, free: 45.69 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/7.756, allocations: 0.5357 MB / 2.377 GB, free: 45.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/7.762, allocations: 0.7762 MB / 2.377 GB, free: 45.56 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/7.771, allocations: 3.822 MB / 2.381 GB, free: 43.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/7.772, allocations: 1.447 MB / 2.383 GB, free: 43.04 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003021/7.775, allocations: 425.9 kB / 2.383 GB, free: 42.97 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/7.776, allocations: 133.7 kB / 2.383 GB, free: 42.97 MB / 0.5886 GB Notification: Performance of SimCode: time 1.303e-06/7.776, allocations: 0 / 2.383 GB, free: 42.97 MB / 0.5886 GB Notification: Performance of Templates: time 0.08825/7.864, allocations: 35.93 MB / 2.418 GB, free: 40.5 MB / 0.5886 GB