Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.758/2.758, allocations: 287.9 MB / 302.9 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 187.5 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.4 MB / 0.6301 GB, free: 10.36 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 101.3 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008333/0.0008335, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2136, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1172/0.3309, allocations: 87.35 MB / 1.064 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.886/1.217, allocations: 156.8 MB / 1.217 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006416/1.223, allocations: 131.1 kB / 1.217 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.007354/1.231, allocations: 1.722 MB / 1.219 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0189/1.25, allocations: 4.646 MB / 1.223 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01914/1.269, allocations: 4.655 MB / 1.228 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02669/1.296, allocations: 15.12 MB / 1.243 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01848/1.314, allocations: 9.78 MB / 1.252 GB, free: 492 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01423/1.328, allocations: 6.24 MB / 1.258 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01068/1.339, allocations: 5.161 MB / 1.263 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002792/1.342, allocations: 428 kB / 1.264 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/1.353, allocations: 2.626 MB / 1.266 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.004259/1.357, allocations: 2.024 MB / 1.268 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.005079/1.362, allocations: 2.254 MB / 1.271 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.02507/1.388, allocations: 15.46 MB / 1.286 GB, free: 14.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.388, allocations: 0 / 1.286 GB, free: 14.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.98e-06/1.388, allocations: 0 / 1.286 GB, free: 14.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004181/1.388, allocations: 0 / 1.286 GB, free: 14.2 MB / 0.823 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.02882/1.417, allocations: 10.26 MB / 1.296 GB, free: 3.836 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.417, allocations: 16.03 kB / 1.296 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/1.431, allocations: 2.26 MB / 1.298 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02729/1.459, allocations: 9.337 MB / 1.307 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/1.46, allocations: 0.6808 MB / 1.308 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/1.463, allocations: 0.8163 MB / 1.309 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03688/1.5, allocations: 11.91 MB / 1.32 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/1.5, allocations: 27.78 kB / 1.32 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002316/1.503, allocations: 350 kB / 1.321 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004439/1.503, allocations: 343.5 kB / 1.321 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03491/1.538, allocations: 11.04 MB / 1.332 GB, free: 14.6 MB / 0.8698 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.1445/1.682, allocations: 47.49 MB / 1.378 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0231/1.706, allocations: 8.125 MB / 1.386 GB, free: 4.801 MB / 0.9167 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.04989/1.756, allocations: 18.63 MB / 1.404 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01153/1.767, allocations: 3.713 MB / 1.408 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005304/1.772, allocations: 0.7401 MB / 1.409 GB, free: 12.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=510): time 1.757e-05/1.773, allocations: 0 / 1.409 GB, free: 12.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=510): time 0.03169/1.804, allocations: 9.492 MB / 1.418 GB, free: 3.371 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002505/1.805, allocations: 338.7 kB / 1.418 GB, free: 2.973 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/1.824, allocations: 7.869 MB / 1.426 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001195/1.825, allocations: 133.7 kB / 1.426 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.006709/1.832, allocations: 4.418 MB / 1.43 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00304/1.835, allocations: 1.764 MB / 1.432 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008323/1.836, allocations: 136 kB / 1.432 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0006868/1.837, allocations: 0.5628 MB / 1.433 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/1.847, allocations: 3.401 MB / 1.436 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112/2.959, allocations: 5.107 MB / 1.441 GB, free: 341.1 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/2.971, allocations: 4.268 MB / 1.445 GB, free: 339.4 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-05/2.971, allocations: 13.12 kB / 1.445 GB, free: 339.4 MB / 0.9637 GB Notification: Performance of matching and sorting (n=829) (initialization): time 0.02931/3.001, allocations: 9.56 MB / 1.454 GB, free: 336.2 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.004504/3.005, allocations: 23.88 MB / 1.478 GB, free: 310.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002227/3.006, allocations: 48.06 kB / 1.478 GB, free: 310.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001987/3.006, allocations: 85.62 kB / 1.478 GB, free: 310.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/3.016, allocations: 1.711 MB / 1.48 GB, free: 310.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002138/3.016, allocations: 113.2 kB / 1.48 GB, free: 310.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/3.027, allocations: 0.7148 MB / 1.48 GB, free: 310.6 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/3.028, allocations: 311.1 kB / 1.481 GB, free: 310.6 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/3.028, allocations: 3.594 kB / 1.481 GB, free: 310.6 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02629/3.055, allocations: 8.821 MB / 1.489 GB, free: 307.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/3.055, allocations: 52.16 kB / 1.489 GB, free: 307.2 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/3.055, allocations: 85.33 kB / 1.489 GB, free: 307.2 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/3.066, allocations: 1.691 MB / 1.491 GB, free: 307.1 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000234/3.067, allocations: 107.6 kB / 1.491 GB, free: 307.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/3.077, allocations: 0.7038 MB / 1.492 GB, free: 306.9 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/3.078, allocations: 308.2 kB / 1.492 GB, free: 306.9 MB / 0.9637 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 (826): * Single equations (assignments): 823 * 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.008192/3.087, allocations: 3.249 MB / 1.495 GB, free: 305.4 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002384/3.089, allocations: 0.765 MB / 1.496 GB, free: 305.4 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02503/3.114, allocations: 8.038 MB / 1.504 GB, free: 302.3 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/3.114, allocations: 51.19 kB / 1.504 GB, free: 302.3 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/3.114, allocations: 4 kB / 1.504 GB, free: 302.3 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01986/3.134, allocations: 6.374 MB / 1.51 GB, free: 299.8 MB / 0.9637 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.04606/3.18, allocations: 17.58 MB / 1.527 GB, free: 290.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/3.18, allocations: 0 / 1.527 GB, free: 290.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007572/3.188, allocations: 1.159 MB / 1.529 GB, free: 289.8 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-05/3.188, allocations: 27.98 kB / 1.529 GB, free: 289.7 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000858/3.189, allocations: 155.8 kB / 1.529 GB, free: 289.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-05/3.189, allocations: 16 kB / 1.529 GB, free: 289.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.883e-06/3.189, allocations: 4 kB / 1.529 GB, free: 289.6 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02802/3.217, allocations: 11.71 MB / 1.54 GB, free: 277.7 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0057/3.223, allocations: 1.967 MB / 1.542 GB, free: 275.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002149/3.225, allocations: 108 kB / 1.542 GB, free: 275.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009484/3.234, allocations: 0.6548 MB / 1.543 GB, free: 274.9 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/3.235, allocations: 307.8 kB / 1.543 GB, free: 274.6 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008561/3.236, allocations: 227.8 kB / 1.543 GB, free: 274.4 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01137/3.248, allocations: 5.556 MB / 1.549 GB, free: 268.9 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.13e-06/3.248, allocations: 0 / 1.549 GB, free: 268.9 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.01835/3.266, allocations: 5.044 MB / 1.554 GB, free: 264.2 MB / 0.9637 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.004358/3.27, allocations: 1.398 MB / 1.555 GB, free: 263.2 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.03038/3.301, allocations: 12.46 MB / 1.567 GB, free: 250.7 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/3.301, allocations: 6.562 kB / 1.567 GB, free: 250.7 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.008789/3.31, allocations: 3.463 MB / 1.571 GB, free: 247.2 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02004/3.33, allocations: 4.117 MB / 1.575 GB, free: 243.1 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/3.375, allocations: 23.71 MB / 1.598 GB, free: 219.4 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008973/3.384, allocations: 6.243 MB / 1.604 GB, free: 213.1 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.02033/3.404, allocations: 4.258 MB / 1.608 GB, free: 208.8 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003639/3.408, allocations: 0.7334 MB / 1.609 GB, free: 208.1 MB / 0.9637 GB Notification: Performance of SimCode: time 1.575e-06/3.408, allocations: 4 kB / 1.609 GB, free: 208.1 MB / 0.9637 GB Notification: Performance of Templates: time 0.3114/3.72, allocations: 162.7 MB / 1.768 GB, free: 46.16 MB / 0.9637 GB