Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.00144, allocations: 187.9 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.7614/0.7614, allocations: 82.92 MB / 99.42 MB, free: 3.336 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.213/2.213, allocations: 205.4 MB / 325.4 MB, free: 3.344 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.001679/0.001679, allocations: 98.83 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 16 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08998, allocations: 67.44 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.0656/0.1556, allocations: 44.77 MB / 0.5701 GB, free: 2.191 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03111/0.1868, allocations: 15.63 MB / 0.5853 GB, free: 2.539 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.1897, allocations: 67.5 kB / 0.5854 GB, free: 2.473 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.1937, allocations: 0.9658 MB / 0.5863 GB, free: 1.508 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3282/0.5219, allocations: 2.314 MB / 0.5886 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.5332, allocations: 3.01 MB / 0.5915 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00606/0.5393, allocations: 2.763 MB / 0.5942 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.542, allocations: 1.238 MB / 0.5954 GB, free: 10.81 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.5457, allocations: 1.368 MB / 0.5968 GB, free: 10.81 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.5478, allocations: 0.9148 MB / 0.5977 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003638/0.5482, allocations: 70.25 kB / 0.5977 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/0.553, allocations: 1.373 MB / 0.5991 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009687/0.554, allocations: 394.7 kB / 0.5995 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008646/0.5549, allocations: 413.4 kB / 0.5999 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.5598, allocations: 2.44 MB / 0.6022 GB, free: 10.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.184e-06/0.5598, allocations: 5.531 kB / 0.6022 GB, free: 10.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.32e-06/0.5599, allocations: 0 / 0.6022 GB, free: 10.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.334e-05/0.5599, allocations: 0 / 0.6022 GB, free: 10.57 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.005038/0.565, allocations: 2.222 MB / 0.6044 GB, free: 9.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.565, allocations: 9.625 kB / 0.6044 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.5678, allocations: 489 kB / 0.6049 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.5718, allocations: 1.535 MB / 0.6064 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004374/0.5722, allocations: 159.4 kB / 0.6065 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.5725, allocations: 122.8 kB / 0.6067 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.5761, allocations: 1.379 MB / 0.608 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.5762, allocations: 1.125 kB / 0.608 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.5763, allocations: 46.84 kB / 0.608 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.5764, allocations: 27.97 kB / 0.6081 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/0.5802, allocations: 1.119 MB / 0.6092 GB, free: 8.477 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.01145/0.5917, allocations: 7.148 MB / 0.6161 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.595, allocations: 1.414 MB / 0.6175 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006571/0.6016, allocations: 3.087 MB / 0.6205 GB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.6031, allocations: 462.8 kB / 0.621 GB, free: 17.68 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008697/0.604, allocations: 92.44 kB / 0.6211 GB, free: 17.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 5.54e-06/0.604, allocations: 3.984 kB / 0.6211 GB, free: 17.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.004571/0.6086, allocations: 1.281 MB / 0.6223 GB, free: 17.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.6087, allocations: 141.1 kB / 0.6225 GB, free: 17.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.6118, allocations: 1.607 MB / 0.624 GB, free: 16.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.612, allocations: 46.3 kB / 0.6241 GB, free: 16.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007958/0.6129, allocations: 0.8871 MB / 0.6249 GB, free: 16.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.6131, allocations: 212.1 kB / 0.6251 GB, free: 16.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.6132, allocations: 18.28 kB / 0.6252 GB, free: 16.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.6134, allocations: 350.6 kB / 0.6255 GB, free: 16.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.6147, allocations: 386.4 kB / 0.6259 GB, free: 15.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.6162, allocations: 0.7916 MB / 0.6266 GB, free: 15.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6176, allocations: 0.4939 MB / 0.6271 GB, free: 15.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.6176, allocations: 3.281 kB / 0.6271 GB, free: 15.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003818/0.6215, allocations: 1.338 MB / 0.6284 GB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002033/0.6235, allocations: 4.371 MB / 0.6327 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/0.6236, allocations: 18.09 kB / 0.6327 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.6237, allocations: 21 kB / 0.6327 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.6251, allocations: 272 kB / 0.633 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/0.6252, allocations: 24.42 kB / 0.633 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.6272, allocations: 131.1 kB / 0.6331 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.6274, allocations: 61.62 kB / 0.6332 GB, free: 10.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6275, allocations: 3.375 kB / 0.6332 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003303/0.6308, allocations: 1.159 MB / 0.6343 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/0.6308, allocations: 11.94 kB / 0.6343 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.6309, allocations: 17.53 kB / 0.6344 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.6322, allocations: 267.1 kB / 0.6346 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.6323, allocations: 18.47 kB / 0.6346 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.6341, allocations: 136.2 kB / 0.6348 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.6343, allocations: 54.78 kB / 0.6348 GB, free: 9.965 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.001163/0.6355, allocations: 494.6 kB / 0.6353 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.6359, allocations: 165.7 kB / 0.6354 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/0.6394, allocations: 1.168 MB / 0.6366 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.6394, allocations: 9.641 kB / 0.6366 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.6394, allocations: 3.156 kB / 0.6366 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002604/0.6421, allocations: 0.9959 MB / 0.6376 GB, free: 8.926 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.006257/0.6483, allocations: 2.484 MB / 0.64 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.6484, allocations: 0.9688 kB / 0.64 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009701/0.6494, allocations: 154.7 kB / 0.6401 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.6496, allocations: 38.2 kB / 0.6402 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.6497, allocations: 22.33 kB / 0.6402 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.6515, allocations: 1.38 MB / 0.6416 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6515, allocations: 0 / 0.6416 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/0.656, allocations: 1.637 MB / 0.6432 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.6571, allocations: 355.1 kB / 0.6435 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.6575, allocations: 21.42 kB / 0.6435 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.6589, allocations: 123.6 kB / 0.6436 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.6591, allocations: 53.83 kB / 0.6437 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.6592, allocations: 29.94 kB / 0.6437 GB, free: 5.762 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002237/0.6614, allocations: 1.137 MB / 0.6448 GB, free: 5.441 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.104e-06/0.6615, allocations: 0 / 0.6448 GB, free: 5.441 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003953/0.6654, allocations: 0.9419 MB / 0.6457 GB, free: 5.297 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,coo.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.002513/0.668, allocations: 0.7484 MB / 0.6465 GB, free: 4.969 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004793/0.6728, allocations: 1.722 MB / 0.6482 GB, free: 4.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.201e-06/0.6729, allocations: 4.125 kB / 0.6482 GB, free: 4.316 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.6745, allocations: 0.5613 MB / 0.6487 GB, free: 3.867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/0.6788, allocations: 0.7461 MB / 0.6494 GB, free: 3.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.6869, allocations: 3.769 MB / 0.6531 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.6884, allocations: 1.412 MB / 0.6545 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00256/0.691, allocations: 426.3 kB / 0.6549 GB, free: 13.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/0.6916, allocations: 146.9 kB / 0.655 GB, free: 13.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.614e-06/0.6916, allocations: 4 kB / 0.655 GB, free: 13.78 MB / 458.7 MB Notification: Performance of Templates: time 0.07838/0.77, allocations: 31.67 MB / 0.686 GB, free: 14.64 MB / 490.7 MB