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.002437/0.002437, allocations: 357 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.528/1.528, allocations: 165.8 MB / 182.5 MB, free: 5.434 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.834/3.834, allocations: 410.8 MB / 0.5995 GB, free: 15.07 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.001725/0.001724, allocations: 187 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004604, allocations: 16 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3379, allocations: 67.43 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.0578/0.3957, allocations: 49.06 MB / 0.8561 GB, free: 11.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0317/0.4275, allocations: 16.43 MB / 0.8721 GB, free: 11.13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.4306, allocations: 71.56 kB / 0.8722 GB, free: 11.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.4345, allocations: 0.8813 MB / 0.873 GB, free: 10.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009344/0.4439, allocations: 2.452 MB / 0.8754 GB, free: 7.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01114/0.455, allocations: 3.066 MB / 0.8784 GB, free: 4.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008558/0.4636, allocations: 5.183 MB / 0.8835 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.4663, allocations: 1.245 MB / 0.8847 GB, free: 14.21 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.4702, allocations: 1.489 MB / 0.8861 GB, free: 12.72 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.4729, allocations: 1.252 MB / 0.8874 GB, free: 11.46 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000408/0.4733, allocations: 75.94 kB / 0.8874 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/0.4775, allocations: 1.341 MB / 0.8888 GB, free: 10.04 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009149/0.4784, allocations: 418.3 kB / 0.8891 GB, free: 9.633 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.4794, allocations: 408.6 kB / 0.8895 GB, free: 9.227 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00481/0.4842, allocations: 2.451 MB / 0.8919 GB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.678e-06/0.4842, allocations: 0 / 0.8919 GB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.416e-06/0.4843, allocations: 0 / 0.8919 GB, free: 6.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.4843, allocations: 0 / 0.8919 GB, free: 6.77 MB / 442.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.005269/0.4896, allocations: 2.229 MB / 0.8941 GB, free: 4.473 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4896, allocations: 11.97 kB / 0.8941 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.4924, allocations: 489 kB / 0.8946 GB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004616/0.497, allocations: 1.575 MB / 0.8961 GB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.4976, allocations: 162.1 kB / 0.8963 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.4979, allocations: 120 kB / 0.8964 GB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/0.5017, allocations: 1.396 MB / 0.8978 GB, free: 0.582 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.5018, allocations: 4 kB / 0.8978 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.502, allocations: 51.98 kB / 0.8978 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/0.502, allocations: 31.98 kB / 0.8978 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003881/0.5059, allocations: 1.124 MB / 0.8989 GB, free: 15.36 MB / 458.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.01754/0.5235, allocations: 7.007 MB / 0.9058 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.5272, allocations: 1.44 MB / 0.9072 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.5287, allocations: 442.3 kB / 0.9076 GB, free: 5.832 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006753/0.5355, allocations: 3.091 MB / 0.9106 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/0.537, allocations: 462.9 kB / 0.9111 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006659/0.5377, allocations: 83.25 kB / 0.9111 GB, free: 1.852 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 4.485e-06/0.5377, allocations: 0 / 0.9111 GB, free: 1.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.004544/0.5423, allocations: 1.295 MB / 0.9124 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.5425, allocations: 141 kB / 0.9125 GB, free: 368 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.5457, allocations: 1.57 MB / 0.9141 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.5459, allocations: 49.69 kB / 0.9141 GB, free: 14.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.5471, allocations: 0.8918 MB / 0.915 GB, free: 13.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.5474, allocations: 212.9 kB / 0.9152 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.5475, allocations: 20 kB / 0.9152 GB, free: 13.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.5477, allocations: 341.9 kB / 0.9155 GB, free: 13.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.5492, allocations: 401.8 kB / 0.9159 GB, free: 12.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.551, allocations: 0.7969 MB / 0.9167 GB, free: 11.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.5525, allocations: 0.5006 MB / 0.9172 GB, free: 11.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.5526, allocations: 4 kB / 0.9172 GB, free: 11.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004167/0.5568, allocations: 1.341 MB / 0.9185 GB, free: 10.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004242/0.5572, allocations: 441 kB / 0.9189 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/0.5573, allocations: 15.95 kB / 0.9189 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/0.5573, allocations: 20 kB / 0.919 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.5589, allocations: 267.6 kB / 0.9192 GB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.293e-05/0.559, allocations: 19.94 kB / 0.9192 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.5608, allocations: 136.5 kB / 0.9194 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.561, allocations: 51.98 kB / 0.9194 GB, free: 8.938 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5611, allocations: 11.38 kB / 0.9194 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003578/0.5647, allocations: 1.165 MB / 0.9206 GB, free: 7.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.5647, allocations: 8 kB / 0.9206 GB, free: 7.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.5648, allocations: 20.59 kB / 0.9206 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.5662, allocations: 267.6 kB / 0.9209 GB, free: 7.469 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/0.5663, allocations: 23.94 kB / 0.9209 GB, free: 7.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.568, allocations: 132.4 kB / 0.921 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.5682, allocations: 51.98 kB / 0.921 GB, free: 7.266 MB / 474.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 (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.001124/0.5693, allocations: 495.7 kB / 0.9215 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.5698, allocations: 165.8 kB / 0.9217 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.5735, allocations: 1.167 MB / 0.9228 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.5736, allocations: 11.98 kB / 0.9228 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5736, allocations: 4 kB / 0.9228 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00293/0.5765, allocations: 1.009 MB / 0.9238 GB, free: 4.352 MB / 474.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.008252/0.5848, allocations: 2.441 MB / 0.9262 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.5849, allocations: 4 kB / 0.9262 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.587, allocations: 147.9 kB / 0.9263 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.5874, allocations: 32.84 kB / 0.9264 GB, free: 1.652 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.5876, allocations: 27.97 kB / 0.9264 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.5904, allocations: 1.363 MB / 0.9277 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.5905, allocations: 8.016 kB / 0.9277 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3837/0.9742, allocations: 1.617 MB / 0.9293 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/0.9752, allocations: 353.9 kB / 0.9297 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/0.9756, allocations: 21.75 kB / 0.9297 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.9771, allocations: 116.1 kB / 0.9298 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.9773, allocations: 53.64 kB / 0.9298 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.9774, allocations: 29.91 kB / 0.9299 GB, free: 111.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002391/0.9798, allocations: 1.115 MB / 0.931 GB, free: 111.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.87e-07/0.9798, allocations: 1 kB / 0.931 GB, free: 111.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004056/0.9839, allocations: 0.9178 MB / 0.9319 GB, free: 111.2 MB / 474.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.002361/0.9863, allocations: 0.7336 MB / 0.9326 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005197/0.9915, allocations: 1.728 MB / 0.9343 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.368e-06/0.9916, allocations: 2.812 kB / 0.9343 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.9933, allocations: 0.5688 MB / 0.9348 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/0.998, allocations: 0.7454 MB / 0.9355 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00784/1.006, allocations: 3.794 MB / 0.9393 GB, free: 108.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/1.007, allocations: 1.404 MB / 0.9406 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002444/1.009, allocations: 412.5 kB / 0.941 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/1.01, allocations: 140.8 kB / 0.9412 GB, free: 107.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.639e-06/1.01, allocations: 0 / 0.9412 GB, free: 107.3 MB / 474.7 MB Notification: Performance of Templates: time 0.06796/1.078, allocations: 31.15 MB / 0.9716 GB, free: 79.82 MB / 474.7 MB