Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.017/3.017, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001612/0.001612, allocations: 181.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001205/0.001205, allocations: 96.25 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000644/0.0006441, allocations: 16.83 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1381/0.3548, allocations: 87.35 MB / 1.063 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.982/1.337, allocations: 156.8 MB / 1.217 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00947/1.346, allocations: 127.1 kB / 1.217 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01367/1.36, allocations: 1.718 MB / 1.218 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0346/1.395, allocations: 4.65 MB / 1.223 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.03513/1.43, allocations: 4.661 MB / 1.227 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.04627/1.476, allocations: 15.12 MB / 1.242 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03161/1.508, allocations: 9.78 MB / 1.252 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0237/1.532, allocations: 6.24 MB / 1.258 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/1.545, allocations: 5.149 MB / 1.263 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003625/1.549, allocations: 432 kB / 1.263 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/1.563, allocations: 2.629 MB / 1.266 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.005296/1.568, allocations: 2.027 MB / 1.268 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.005773/1.574, allocations: 2.262 MB / 1.27 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.033/1.607, allocations: 15.46 MB / 1.285 GB, free: 14.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.607, allocations: 0 / 1.285 GB, free: 14.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.276e-06/1.607, allocations: 4 kB / 1.285 GB, free: 14.39 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006244/1.608, allocations: 4 kB / 1.285 GB, free: 14.39 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.03793/1.646, allocations: 10.25 MB / 1.295 GB, free: 4.027 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.646, allocations: 11.97 kB / 1.295 GB, free: 4.016 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/1.667, allocations: 2.258 MB / 1.297 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03374/1.701, allocations: 9.338 MB / 1.307 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001611/1.702, allocations: 0.6769 MB / 1.307 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/1.706, allocations: 0.8241 MB / 1.308 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04458/1.751, allocations: 11.9 MB / 1.32 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004226/1.751, allocations: 29.61 kB / 1.32 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00287/1.754, allocations: 344 kB / 1.32 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005036/1.755, allocations: 339.5 kB / 1.32 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04355/1.798, allocations: 11.05 MB / 1.331 GB, free: 14.8 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.1214/1.92, allocations: 47.48 MB / 1.377 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02867/1.949, allocations: 8.125 MB / 1.385 GB, free: 5.004 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.06496/2.014, allocations: 18.65 MB / 1.404 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01413/2.028, allocations: 3.706 MB / 1.407 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006481/2.034, allocations: 0.7439 MB / 1.408 GB, free: 13.06 MB / 0.948 GB Notification: Performance of pre-optimization done (n=510): time 1.829e-05/2.034, allocations: 0 / 1.408 GB, free: 13.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=510): time 0.04024/2.075, allocations: 9.488 MB / 1.417 GB, free: 3.566 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000224/2.075, allocations: 342.7 kB / 1.418 GB, free: 3.164 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02159/2.097, allocations: 7.861 MB / 1.425 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001928/2.099, allocations: 137.7 kB / 1.425 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.007492/2.106, allocations: 4.433 MB / 1.43 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003766/2.11, allocations: 1.76 MB / 1.431 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/2.111, allocations: 128 kB / 1.432 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0007318/2.112, allocations: 0.559 MB / 1.432 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01427/2.126, allocations: 3.401 MB / 1.435 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26/3.386, allocations: 5.111 MB / 1.44 GB, free: 341.3 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/3.403, allocations: 4.261 MB / 1.445 GB, free: 339.6 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.809e-05/3.403, allocations: 17.03 kB / 1.445 GB, free: 339.6 MB / 0.9637 GB Notification: Performance of matching and sorting (n=829) (initialization): time 0.04076/3.444, allocations: 9.561 MB / 1.454 GB, free: 336.3 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.005492/3.449, allocations: 23.89 MB / 1.477 GB, free: 311.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002554/3.45, allocations: 47.33 kB / 1.477 GB, free: 311.1 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/3.45, allocations: 90.36 kB / 1.477 GB, free: 311.1 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0159/3.466, allocations: 1.704 MB / 1.479 GB, free: 310.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002789/3.466, allocations: 111.8 kB / 1.479 GB, free: 310.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01428/3.48, allocations: 0.7181 MB / 1.48 GB, free: 310.8 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00213/3.483, allocations: 310.7 kB / 1.48 GB, free: 310.7 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/3.483, allocations: 3.344 kB / 1.48 GB, free: 310.7 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0349/3.518, allocations: 8.82 MB / 1.489 GB, free: 307.4 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002225/3.518, allocations: 53.31 kB / 1.489 GB, free: 307.4 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/3.518, allocations: 85.69 kB / 1.489 GB, free: 307.4 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/3.534, allocations: 1.694 MB / 1.491 GB, free: 307.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002712/3.534, allocations: 109 kB / 1.491 GB, free: 307.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/3.547, allocations: 0.6951 MB / 1.491 GB, free: 307.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/3.55, allocations: 307.4 kB / 1.492 GB, free: 307 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.01048/3.56, allocations: 3.248 MB / 1.495 GB, free: 305.5 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003545/3.564, allocations: 0.7658 MB / 1.496 GB, free: 305.5 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0329/3.597, allocations: 8.031 MB / 1.503 GB, free: 302.4 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/3.597, allocations: 54.86 kB / 1.503 GB, free: 302.4 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/3.597, allocations: 0 / 1.503 GB, free: 302.4 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02416/3.621, allocations: 6.374 MB / 1.51 GB, free: 299.9 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.05597/3.677, allocations: 17.58 MB / 1.527 GB, free: 290.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/3.677, allocations: 6 kB / 1.527 GB, free: 290.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01192/3.689, allocations: 1.152 MB / 1.528 GB, free: 290.1 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.005e-05/3.689, allocations: 27.95 kB / 1.528 GB, free: 290.1 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001226/3.69, allocations: 155.9 kB / 1.528 GB, free: 289.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.522e-05/3.69, allocations: 20 kB / 1.528 GB, free: 289.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/3.69, allocations: 2.953 kB / 1.528 GB, free: 289.9 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04046/3.731, allocations: 11.7 MB / 1.54 GB, free: 278 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007376/3.738, allocations: 1.971 MB / 1.541 GB, free: 276 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003528/3.742, allocations: 112 kB / 1.542 GB, free: 275.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01313/3.755, allocations: 0.6448 MB / 1.542 GB, free: 275.3 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/3.757, allocations: 311.8 kB / 1.543 GB, free: 275 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001317/3.758, allocations: 223.8 kB / 1.543 GB, free: 274.8 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01422/3.772, allocations: 5.556 MB / 1.548 GB, free: 269.2 MB / 0.9637 GB Notification: Performance of sort global known variables: time 8.22e-07/3.772, allocations: 0 / 1.548 GB, free: 269.2 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02377/3.796, allocations: 5.046 MB / 1.553 GB, free: 264.5 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.005458/3.802, allocations: 1.4 MB / 1.554 GB, free: 263.5 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04241/3.844, allocations: 12.46 MB / 1.567 GB, free: 251 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/3.844, allocations: 10.56 kB / 1.567 GB, free: 251 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01301/3.857, allocations: 3.463 MB / 1.57 GB, free: 247.5 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03338/3.891, allocations: 4.116 MB / 1.574 GB, free: 243.5 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05711/3.948, allocations: 23.71 MB / 1.597 GB, free: 219.7 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01187/3.96, allocations: 6.239 MB / 1.603 GB, free: 213.4 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.02752/3.987, allocations: 4.257 MB / 1.607 GB, free: 209.2 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005733/3.993, allocations: 0.7334 MB / 1.608 GB, free: 208.4 MB / 0.9637 GB Notification: Performance of SimCode: time 1.783e-06/3.993, allocations: 0 / 1.608 GB, free: 208.4 MB / 0.9637 GB Notification: Performance of Templates: time 0.3835/4.377, allocations: 162.7 MB / 1.767 GB, free: 46.51 MB / 0.9637 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)