Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.3 MB / 303.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 170.4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 102.8 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004359, allocations: 24.3 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.08797/0.3351, allocations: 87.34 MB / 1.065 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.8193/1.155, allocations: 156.8 MB / 1.218 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008555/1.163, allocations: 127.1 kB / 1.218 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.009106/1.172, allocations: 1.725 MB / 1.22 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02205/1.194, allocations: 4.637 MB / 1.224 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.02136/1.216, allocations: 4.676 MB / 1.229 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0311/1.247, allocations: 15.1 MB / 1.243 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/1.264, allocations: 9.78 MB / 1.253 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02043/1.284, allocations: 6.243 MB / 1.259 GB, free: 9.336 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01437/1.298, allocations: 5.157 MB / 1.264 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.004245/1.303, allocations: 432 kB / 1.265 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/1.317, allocations: 2.626 MB / 1.267 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.005915/1.323, allocations: 2.02 MB / 1.269 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.006885/1.329, allocations: 2.262 MB / 1.271 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0274/1.357, allocations: 15.46 MB / 1.286 GB, free: 13.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.357, allocations: 0 / 1.286 GB, free: 13.31 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.04e-06/1.357, allocations: 0 / 1.286 GB, free: 13.31 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008822/1.358, allocations: 3.938 kB / 1.286 GB, free: 13.31 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.03193/1.39, allocations: 10.26 MB / 1.296 GB, free: 2.945 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.39, allocations: 8.031 kB / 1.296 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/1.405, allocations: 2.268 MB / 1.299 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0266/1.432, allocations: 9.327 MB / 1.308 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009422/1.433, allocations: 0.6827 MB / 1.308 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003475/1.436, allocations: 0.8202 MB / 1.309 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03688/1.473, allocations: 11.91 MB / 1.321 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005576/1.474, allocations: 23.72 kB / 1.321 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003549/1.477, allocations: 348 kB / 1.321 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004664/1.478, allocations: 349.5 kB / 1.322 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03389/1.512, allocations: 11.04 MB / 1.332 GB, free: 13.72 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.1119/1.624, allocations: 47.49 MB / 1.379 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/1.644, allocations: 8.131 MB / 1.387 GB, free: 3.902 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.05338/1.698, allocations: 18.64 MB / 1.405 GB, free: 444 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01074/1.708, allocations: 3.702 MB / 1.408 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007223/1.716, allocations: 0.74 MB / 1.409 GB, free: 11.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=510): time 2.553e-05/1.716, allocations: 0 / 1.409 GB, free: 11.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=510): time 0.02914/1.745, allocations: 9.488 MB / 1.418 GB, free: 2.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/1.745, allocations: 342.7 kB / 1.419 GB, free: 2.078 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02059/1.766, allocations: 7.873 MB / 1.426 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002003/1.768, allocations: 133.7 kB / 1.427 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.007102/1.775, allocations: 4.422 MB / 1.431 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003894/1.779, allocations: 1.76 MB / 1.433 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/1.781, allocations: 132 kB / 1.433 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0008678/1.782, allocations: 0.559 MB / 1.433 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9743/2.756, allocations: 3.401 MB / 1.437 GB, free: 341.4 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/2.767, allocations: 5.11 MB / 1.442 GB, free: 339.6 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/2.778, allocations: 4.266 MB / 1.446 GB, free: 338.1 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.273e-05/2.779, allocations: 13.22 kB / 1.446 GB, free: 338.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=829) (initialization): time 0.027/2.806, allocations: 9.552 MB / 1.455 GB, free: 334.9 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.004863/2.81, allocations: 23.89 MB / 1.478 GB, free: 309.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/2.811, allocations: 47.5 kB / 1.478 GB, free: 309.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/2.811, allocations: 85.95 kB / 1.479 GB, free: 309.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009733/2.821, allocations: 1.705 MB / 1.48 GB, free: 309.4 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002445/2.821, allocations: 117 kB / 1.48 GB, free: 309.4 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/2.831, allocations: 0.7177 MB / 1.481 GB, free: 309.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002069/2.834, allocations: 316.7 kB / 1.481 GB, free: 309.2 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/2.834, allocations: 4.375 kB / 1.481 GB, free: 309.2 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02696/2.861, allocations: 8.823 MB / 1.49 GB, free: 305.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002607/2.861, allocations: 49.84 kB / 1.49 GB, free: 305.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/2.861, allocations: 85.34 kB / 1.49 GB, free: 305.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009021/2.87, allocations: 1.691 MB / 1.492 GB, free: 305.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002998/2.87, allocations: 110.3 kB / 1.492 GB, free: 305.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/2.881, allocations: 0.6938 MB / 1.493 GB, free: 305.6 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002079/2.883, allocations: 309.3 kB / 1.493 GB, free: 305.6 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.01009/2.893, allocations: 3.243 MB / 1.496 GB, free: 304.1 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003272/2.896, allocations: 0.773 MB / 1.497 GB, free: 304.1 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/2.914, allocations: 8.033 MB / 1.505 GB, free: 301 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-05/2.914, allocations: 51.28 kB / 1.505 GB, free: 301 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/2.914, allocations: 0 / 1.505 GB, free: 301 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01205/2.926, allocations: 6.369 MB / 1.511 GB, free: 298.5 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.04132/2.968, allocations: 17.57 MB / 1.528 GB, free: 288.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/2.968, allocations: 3.188 kB / 1.528 GB, free: 288.5 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005807/2.974, allocations: 1.158 MB / 1.529 GB, free: 288.2 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/2.974, allocations: 20 kB / 1.529 GB, free: 288.1 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009684/2.975, allocations: 159.8 kB / 1.529 GB, free: 288 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.473e-05/2.975, allocations: 21.09 kB / 1.529 GB, free: 288 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.975, allocations: 4 kB / 1.529 GB, free: 288 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/2.998, allocations: 11.7 MB / 1.541 GB, free: 276.1 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007127/3.006, allocations: 1.969 MB / 1.543 GB, free: 274.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003504/3.009, allocations: 108 kB / 1.543 GB, free: 274 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008785/3.018, allocations: 0.6538 MB / 1.543 GB, free: 273.3 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009002/3.019, allocations: 307.8 kB / 1.544 GB, free: 273 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001079/3.02, allocations: 227.8 kB / 1.544 GB, free: 272.8 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01151/3.032, allocations: 5.552 MB / 1.549 GB, free: 267.3 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.583e-06/3.032, allocations: 0 / 1.549 GB, free: 267.3 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02279/3.054, allocations: 5.046 MB / 1.554 GB, free: 262.6 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.004704/3.059, allocations: 1.408 MB / 1.556 GB, free: 261.6 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.02876/3.088, allocations: 12.45 MB / 1.568 GB, free: 249.1 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/3.088, allocations: 6.562 kB / 1.568 GB, free: 249 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.008961/3.097, allocations: 3.471 MB / 1.571 GB, free: 245.6 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0216/3.119, allocations: 4.116 MB / 1.575 GB, free: 241.5 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04495/3.164, allocations: 23.7 MB / 1.598 GB, free: 217.7 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/3.174, allocations: 6.243 MB / 1.605 GB, free: 211.4 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.02251/3.196, allocations: 4.253 MB / 1.609 GB, free: 207.2 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0048/3.201, allocations: 0.7373 MB / 1.609 GB, free: 206.4 MB / 0.9637 GB Notification: Performance of SimCode: time 8.82e-07/3.201, allocations: 0 / 1.609 GB, free: 206.4 MB / 0.9637 GB Notification: Performance of Templates: time 0.2411/3.442, allocations: 162.7 MB / 1.768 GB, free: 44.52 MB / 0.9637 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)