Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001453, allocations: 187.2 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7239/0.7239, allocations: 82.93 MB / 99.43 MB, free: 3.305 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 325.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 102.5 kB / 393.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004393, allocations: 11.98 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08845, allocations: 67.46 MB / 0.5264 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06412/0.1526, allocations: 44.76 MB / 0.5701 GB, free: 2.145 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05081/0.2035, allocations: 15.63 MB / 0.5853 GB, free: 2.492 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.2064, allocations: 71.5 kB / 0.5854 GB, free: 2.422 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.2104, allocations: 0.9494 MB / 0.5863 GB, free: 1.469 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3437/0.5541, allocations: 2.316 MB / 0.5886 GB, free: 10.99 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.5654, allocations: 3.021 MB / 0.5915 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.5717, allocations: 2.764 MB / 0.5942 GB, free: 10.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.5746, allocations: 1.241 MB / 0.5955 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.5784, allocations: 1.372 MB / 0.5968 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.5806, allocations: 0.9073 MB / 0.5977 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.5809, allocations: 74.64 kB / 0.5978 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.5852, allocations: 1.375 MB / 0.5991 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009521/0.5862, allocations: 395.4 kB / 0.5995 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008351/0.5871, allocations: 406 kB / 0.5999 GB, free: 10.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.592, allocations: 2.442 MB / 0.6022 GB, free: 10.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.023e-06/0.5921, allocations: 0 / 0.6022 GB, free: 10.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5921, allocations: 0 / 0.6022 GB, free: 10.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.976e-05/0.5921, allocations: 0 / 0.6022 GB, free: 10.54 MB / 426.7 MB 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.004859/0.597, allocations: 2.23 MB / 0.6044 GB, free: 9.289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5971, allocations: 11.19 kB / 0.6044 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.5997, allocations: 489.2 kB / 0.6049 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.6035, allocations: 1.534 MB / 0.6064 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004501/0.604, allocations: 155.5 kB / 0.6065 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.6043, allocations: 121.8 kB / 0.6067 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.6077, allocations: 1.375 MB / 0.608 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.6078, allocations: 4.125 kB / 0.608 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.608, allocations: 49.52 kB / 0.6081 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.608, allocations: 28.41 kB / 0.6081 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/0.6117, allocations: 1.117 MB / 0.6092 GB, free: 8.434 MB / 426.7 MB 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.01101/0.6227, allocations: 7.151 MB / 0.6162 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.6259, allocations: 1.414 MB / 0.6175 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006366/0.6323, allocations: 3.088 MB / 0.6206 GB, free: 17.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.6337, allocations: 459.6 kB / 0.621 GB, free: 17.64 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000755/0.6344, allocations: 94.3 kB / 0.6211 GB, free: 17.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 5.964e-06/0.6345, allocations: 3.984 kB / 0.6211 GB, free: 17.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.004314/0.6388, allocations: 1.277 MB / 0.6223 GB, free: 17.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.6389, allocations: 143.1 kB / 0.6225 GB, free: 17.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.6418, allocations: 1.607 MB / 0.624 GB, free: 16.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.642, allocations: 45.59 kB / 0.6241 GB, free: 16.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/0.6428, allocations: 0.8833 MB / 0.6249 GB, free: 16.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.6431, allocations: 214.6 kB / 0.6251 GB, free: 16.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.6432, allocations: 22.19 kB / 0.6252 GB, free: 16.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6434, allocations: 351.4 kB / 0.6255 GB, free: 16.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.6446, allocations: 381.3 kB / 0.6259 GB, free: 15.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.646, allocations: 0.7943 MB / 0.6266 GB, free: 15.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.6474, allocations: 0.4993 MB / 0.6271 GB, free: 15.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.6474, allocations: 2.938 kB / 0.6271 GB, free: 15.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003628/0.651, allocations: 1.331 MB / 0.6284 GB, free: 15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002087/0.6532, allocations: 4.375 MB / 0.6327 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/0.6532, allocations: 12 kB / 0.6327 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/0.6533, allocations: 17.75 kB / 0.6327 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.6548, allocations: 274.5 kB / 0.633 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.6548, allocations: 23.64 kB / 0.633 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.6568, allocations: 134.1 kB / 0.6331 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.657, allocations: 57.53 kB / 0.6332 GB, free: 10.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.657, allocations: 3.75 kB / 0.6332 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003757/0.6608, allocations: 1.157 MB / 0.6343 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.6609, allocations: 11.38 kB / 0.6343 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.6609, allocations: 17.88 kB / 0.6344 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.6623, allocations: 268.5 kB / 0.6346 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/0.6623, allocations: 27.55 kB / 0.6346 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.6642, allocations: 130.8 kB / 0.6348 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.6644, allocations: 56.5 kB / 0.6348 GB, free: 9.988 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 119 * 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.001191/0.6656, allocations: 485.2 kB / 0.6353 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.6661, allocations: 164.6 kB / 0.6354 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.6696, allocations: 1.159 MB / 0.6366 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.6696, allocations: 11.58 kB / 0.6366 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.53e-06/0.6697, allocations: 7.062 kB / 0.6366 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002644/0.6723, allocations: 0.9924 MB / 0.6376 GB, free: 8.961 MB / 442.7 MB 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.006616/0.679, allocations: 2.481 MB / 0.64 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.679, allocations: 0 / 0.64 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.6801, allocations: 153.9 kB / 0.6401 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.6804, allocations: 42.11 kB / 0.6402 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.6805, allocations: 25.02 kB / 0.6402 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.6827, allocations: 1.383 MB / 0.6415 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.107e-06/0.6828, allocations: 0 / 0.6415 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009853/0.6927, allocations: 1.637 MB / 0.6431 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/0.6949, allocations: 354.2 kB / 0.6435 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008009/0.6958, allocations: 21.8 kB / 0.6435 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/0.6991, allocations: 126.1 kB / 0.6436 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.6995, allocations: 50.92 kB / 0.6437 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/0.6997, allocations: 38.03 kB / 0.6437 GB, free: 5.793 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004765/0.7045, allocations: 1.136 MB / 0.6448 GB, free: 5.469 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.449e-06/0.7046, allocations: 0 / 0.6448 GB, free: 5.469 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008307/0.7129, allocations: 0.9364 MB / 0.6457 GB, free: 5.328 MB / 442.7 MB 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) * Number of clocked states: 0 () * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005023/0.718, allocations: 0.7593 MB / 0.6465 GB, free: 4.992 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01004/0.7281, allocations: 1.706 MB / 0.6481 GB, free: 4.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.7282, allocations: 5.75 kB / 0.6481 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003518/0.7317, allocations: 0.5676 MB / 0.6487 GB, free: 3.844 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009061/0.7408, allocations: 0.7477 MB / 0.6494 GB, free: 3.238 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.7576, allocations: 3.777 MB / 0.6531 GB, free: 15.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/0.7607, allocations: 1.406 MB / 0.6545 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005287/0.7661, allocations: 425.8 kB / 0.6549 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005459/0.7667, allocations: 150.3 kB / 0.655 GB, free: 13.76 MB / 458.7 MB Notification: Performance of SimCode: time 1.596e-06/0.7667, allocations: 0 / 0.655 GB, free: 13.76 MB / 458.7 MB Notification: Performance of Templates: time 0.08532/0.852, allocations: 31.69 MB / 0.686 GB, free: 14.6 MB / 490.7 MB