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.002441/0.002447, allocations: 356.8 kB / 15.94 MB, free: 6.207 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.329/1.329, allocations: 165.8 MB / 182.5 MB, free: 5.906 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.165/4.165, allocations: 410.8 MB / 0.5995 GB, free: 2.152 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001828/0.001828, allocations: 194.8 kB / 0.6662 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 16 kB / 0.7423 GB, free: 20 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4226, allocations: 67.44 MB / 0.8081 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05603/0.4787, allocations: 49.07 MB / 0.8561 GB, free: 208.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.5045, allocations: 16.43 MB / 0.8721 GB, free: 192 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.508, allocations: 67.56 kB / 0.8722 GB, free: 191.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003634/0.5117, allocations: 0.8842 MB / 0.873 GB, free: 191 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.5201, allocations: 2.449 MB / 0.8754 GB, free: 188.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.009926/0.53, allocations: 3.075 MB / 0.8784 GB, free: 185.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.006677/0.5367, allocations: 5.18 MB / 0.8835 GB, free: 180.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.539, allocations: 1.233 MB / 0.8847 GB, free: 179.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.5425, allocations: 1.501 MB / 0.8862 GB, free: 177.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.5446, allocations: 1.254 MB / 0.8874 GB, free: 176.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003739/0.545, allocations: 68 kB / 0.8874 GB, free: 176.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.5486, allocations: 1.341 MB / 0.8888 GB, free: 175 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0007357/0.5494, allocations: 418.3 kB / 0.8892 GB, free: 174.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007186/0.5501, allocations: 408.6 kB / 0.8895 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.554, allocations: 2.455 MB / 0.8919 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5541, allocations: 0 / 0.8919 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.583e-06/0.5541, allocations: 0 / 0.8919 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.49e-05/0.5541, allocations: 0 / 0.8919 GB, free: 171.7 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004263/0.5584, allocations: 2.225 MB / 0.8941 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5585, allocations: 11.97 kB / 0.8941 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.561, allocations: 489 kB / 0.8946 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/0.5649, allocations: 1.579 MB / 0.8961 GB, free: 167.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/0.5654, allocations: 158.2 kB / 0.8963 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.5657, allocations: 127.1 kB / 0.8964 GB, free: 167 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.5688, allocations: 1.388 MB / 0.8978 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.5689, allocations: 4 kB / 0.8978 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.569, allocations: 44 kB / 0.8978 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.5691, allocations: 39.92 kB / 0.8978 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.5723, allocations: 1.121 MB / 0.8989 GB, free: 164.3 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.01011/0.5825, allocations: 7.01 MB / 0.9058 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.5862, allocations: 1.438 MB / 0.9072 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.5875, allocations: 438.3 kB / 0.9076 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005482/0.5931, allocations: 3.087 MB / 0.9106 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/0.5944, allocations: 470.9 kB / 0.9111 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006707/0.5951, allocations: 87.25 kB / 0.9112 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 4.63e-06/0.5951, allocations: 0 / 0.9112 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60): time 0.00395/0.5991, allocations: 1.291 MB / 0.9124 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.5992, allocations: 141 kB / 0.9125 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.6018, allocations: 1.57 MB / 0.9141 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.602, allocations: 45.7 kB / 0.9141 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008082/0.6028, allocations: 0.8881 MB / 0.915 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.6031, allocations: 212.9 kB / 0.9152 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.6032, allocations: 20 kB / 0.9152 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.6033, allocations: 345.9 kB / 0.9155 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.6045, allocations: 393.8 kB / 0.9159 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.6059, allocations: 0.8008 MB / 0.9167 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.6073, allocations: 0.5045 MB / 0.9172 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.389e-06/0.6073, allocations: 0 / 0.9172 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003571/0.6109, allocations: 1.34 MB / 0.9185 GB, free: 143 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.6112, allocations: 441.5 kB / 0.9189 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.324e-05/0.6112, allocations: 15.95 kB / 0.9189 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.6113, allocations: 20 kB / 0.919 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.6127, allocations: 271.1 kB / 0.9192 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/0.6127, allocations: 19.94 kB / 0.9192 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.6144, allocations: 135.7 kB / 0.9194 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.6146, allocations: 54.47 kB / 0.9194 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6146, allocations: 9.906 kB / 0.9194 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00306/0.6177, allocations: 1.165 MB / 0.9206 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.6178, allocations: 12 kB / 0.9206 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.6178, allocations: 20 kB / 0.9206 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.6191, allocations: 264 kB / 0.9208 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/0.6191, allocations: 27.86 kB / 0.9209 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.6211, allocations: 131 kB / 0.921 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.6214, allocations: 55.97 kB / 0.9211 GB, free: 140.3 MB / 0.5886 GB 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 (122): * Single equations (assignments): 118 * 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.00177/0.6232, allocations: 490.8 kB / 0.9215 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006623/0.6239, allocations: 169.8 kB / 0.9217 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006263/0.6302, allocations: 1.159 MB / 0.9228 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/0.6303, allocations: 18.42 kB / 0.9228 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.6303, allocations: 0 / 0.9228 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004027/0.6343, allocations: 1.009 MB / 0.9238 GB, free: 137.4 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.005548/0.6399, allocations: 2.441 MB / 0.9262 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.982e-06/0.64, allocations: 0 / 0.9262 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.641, allocations: 151.9 kB / 0.9263 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.6412, allocations: 32.84 kB / 0.9264 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.6413, allocations: 19.98 kB / 0.9264 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.6425, allocations: 1.365 MB / 0.9277 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.926e-06/0.6425, allocations: 7.938 kB / 0.9277 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.6466, allocations: 1.626 MB / 0.9293 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/0.6476, allocations: 358.5 kB / 0.9297 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.648, allocations: 15.95 kB / 0.9297 GB, free: 131.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.6495, allocations: 121 kB / 0.9298 GB, free: 131 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.6497, allocations: 48.48 kB / 0.9298 GB, free: 131 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.6498, allocations: 39.91 kB / 0.9299 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001988/0.6518, allocations: 1.106 MB / 0.931 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.77e-07/0.6518, allocations: 4 kB / 0.931 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003666/0.6555, allocations: 0.9162 MB / 0.9319 GB, free: 128.9 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,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.002226/0.6577, allocations: 0.7386 MB / 0.9326 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004476/0.6623, allocations: 1.722 MB / 0.9343 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.946e-06/0.6623, allocations: 0 / 0.9343 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.6639, allocations: 0.5762 MB / 0.9348 GB, free: 126 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/0.6681, allocations: 0.7521 MB / 0.9356 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.6751, allocations: 3.778 MB / 0.9392 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.6761, allocations: 1.403 MB / 0.9406 GB, free: 120 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002347/0.6785, allocations: 420.1 kB / 0.941 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.679, allocations: 147.3 kB / 0.9412 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.882e-06/0.6791, allocations: 0 / 0.9412 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.06565/0.7447, allocations: 31.14 MB / 0.9716 GB, free: 89.09 MB / 0.5886 GB