Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.173/2.173, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00226/0.002259, allocations: 184.8 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.567/2.567, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 97.89 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004577, allocations: 12.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1443/0.3505, allocations: 87.34 MB / 0.9842 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 1.02/1.371, allocations: 156.8 MB / 1.137 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006721/1.377, allocations: 128 kB / 1.137 GB, free: 3.371 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008547/1.386, allocations: 1.724 MB / 1.139 GB, free: 3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02037/1.406, allocations: 4.642 MB / 1.144 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.02058/1.427, allocations: 4.563 MB / 1.148 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03007/1.457, allocations: 15.07 MB / 1.163 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0234/1.481, allocations: 9.747 MB / 1.172 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02489/1.505, allocations: 6.2 MB / 1.178 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01502/1.521, allocations: 5.139 MB / 1.183 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003969/1.525, allocations: 428 kB / 1.184 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01558/1.54, allocations: 2.615 MB / 1.186 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.005842/1.546, allocations: 1.999 MB / 1.188 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.007217/1.553, allocations: 2.256 MB / 1.19 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.03094/1.584, allocations: 15.32 MB / 1.205 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.584, allocations: 0 / 1.205 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.976e-06/1.584, allocations: 0 / 1.205 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006483/1.585, allocations: 4 kB / 1.205 GB, free: 4.395 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2102 * Number of variables: 2102 Notification: Performance of Generate backend data structure: time 0.04769/1.633, allocations: 10.25 MB / 1.215 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.358e-05/1.633, allocations: 8.031 kB / 1.215 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03196/1.665, allocations: 2.259 MB / 1.218 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04352/1.708, allocations: 9.287 MB / 1.227 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001603/1.71, allocations: 0.6775 MB / 1.227 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003624/1.714, allocations: 0.8335 MB / 1.228 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/1.759, allocations: 11.81 MB / 1.24 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004897/1.76, allocations: 27.77 kB / 1.24 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002975/1.763, allocations: 343.2 kB / 1.24 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000496/1.763, allocations: 339.5 kB / 1.24 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04375/1.807, allocations: 11.05 MB / 1.251 GB, free: 5.215 MB / 0.7761 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.1533/1.96, allocations: 47.39 MB / 1.297 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04447/2.005, allocations: 8.134 MB / 1.305 GB, free: 11.89 MB / 0.8386 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 evalFunc (simulation): time 0.09105/2.096, allocations: 18.55 MB / 1.324 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02095/2.117, allocations: 3.618 MB / 1.327 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01005/2.127, allocations: 0.7348 MB / 1.328 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=510): time 2.871e-05/2.127, allocations: 0 / 1.328 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=510): time 0.05839/2.186, allocations: 9.494 MB / 1.337 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003325/2.186, allocations: 338.7 kB / 1.337 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03165/2.218, allocations: 7.869 MB / 1.345 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.002088/2.22, allocations: 133.7 kB / 1.345 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.01048/2.231, allocations: 4.42 MB / 1.35 GB, free: 14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.004836/2.235, allocations: 1.766 MB / 1.351 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/2.238, allocations: 128 kB / 1.351 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.001084/2.239, allocations: 0.559 MB / 1.352 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01999/2.259, allocations: 3.401 MB / 1.355 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02301/2.282, allocations: 5.107 MB / 1.36 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02271/2.305, allocations: 4.264 MB / 1.364 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-05/2.305, allocations: 15.94 kB / 1.364 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.05571/2.36, allocations: 9.544 MB / 1.374 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.01442/2.375, allocations: 23.89 MB / 1.397 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002232/2.375, allocations: 48 kB / 1.397 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/2.375, allocations: 84 kB / 1.397 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01999/2.395, allocations: 1.712 MB / 1.399 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002934/2.396, allocations: 107.7 kB / 1.399 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01887/2.415, allocations: 0.7252 MB / 1.4 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002433/2.417, allocations: 311.9 kB / 1.4 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/2.417, allocations: 4 kB / 1.4 GB, free: 7.77 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9185/3.336, allocations: 8.81 MB / 1.409 GB, free: 349.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/3.336, allocations: 50.31 kB / 1.409 GB, free: 349.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/3.336, allocations: 86.53 kB / 1.409 GB, free: 349.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02038/3.357, allocations: 1.692 MB / 1.41 GB, free: 349.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003041/3.357, allocations: 107.8 kB / 1.41 GB, free: 349.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01855/3.376, allocations: 0.6854 MB / 1.411 GB, free: 349.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002473/3.378, allocations: 309.8 kB / 1.411 GB, free: 349.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 822 * Array equations: 2 * Algorithm blocks: 0 * 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.01473/3.393, allocations: 3.241 MB / 1.415 GB, free: 349.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004474/3.398, allocations: 0.7652 MB / 1.415 GB, free: 349.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03842/3.436, allocations: 8.032 MB / 1.423 GB, free: 349.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.888e-05/3.436, allocations: 58.94 kB / 1.423 GB, free: 349.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/3.436, allocations: 1.125 kB / 1.423 GB, free: 349.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02544/3.462, allocations: 6.375 MB / 1.429 GB, free: 347.3 MB / 0.9323 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.06226/3.524, allocations: 17.5 MB / 1.447 GB, free: 340.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/3.524, allocations: 5.531 kB / 1.447 GB, free: 340.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01197/3.536, allocations: 1.154 MB / 1.448 GB, free: 340.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.38e-05/3.536, allocations: 19.28 kB / 1.448 GB, free: 340.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00133/3.537, allocations: 157.4 kB / 1.448 GB, free: 340.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.488e-05/3.538, allocations: 21.78 kB / 1.448 GB, free: 340.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/3.538, allocations: 3.953 kB / 1.448 GB, free: 340.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04058/3.578, allocations: 11.7 MB / 1.459 GB, free: 334.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007286/3.586, allocations: 1.937 MB / 1.461 GB, free: 333.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003707/3.589, allocations: 117.8 kB / 1.461 GB, free: 333.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01324/3.603, allocations: 0.6442 MB / 1.462 GB, free: 333 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/3.604, allocations: 311.8 kB / 1.462 GB, free: 332.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001808/3.606, allocations: 218 kB / 1.462 GB, free: 332.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01523/3.621, allocations: 5.556 MB / 1.468 GB, free: 329.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.51e-07/3.621, allocations: 0 / 1.468 GB, free: 329.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02338/3.645, allocations: 5.022 MB / 1.473 GB, free: 326 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (539): * Single equations (assignments): 529 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005389/3.65, allocations: 1.372 MB / 1.474 GB, free: 325.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.04387/3.694, allocations: 12.45 MB / 1.486 GB, free: 312.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/3.694, allocations: 1.438 kB / 1.486 GB, free: 312.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/3.706, allocations: 3.467 MB / 1.49 GB, free: 309.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03099/3.737, allocations: 4.114 MB / 1.494 GB, free: 305.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05502/3.792, allocations: 23.72 MB / 1.517 GB, free: 281.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/3.804, allocations: 6.239 MB / 1.523 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02462/3.829, allocations: 4.216 MB / 1.527 GB, free: 271 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005058/3.834, allocations: 0.7256 MB / 1.528 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.192e-06/3.834, allocations: 0 / 1.528 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.367/4.201, allocations: 161.3 MB / 1.685 GB, free: 109.6 MB / 0.9323 GB