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 4.625/4.625, allocations: 0.5623 GB / 0.5769 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002365/0.002365, allocations: 362.1 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.696/3.696, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001705/0.001704, allocations: 175.9 kB / 1.225 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004921, allocations: 16 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1525, allocations: 115.3 MB / 1.461 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.6507/0.8032, allocations: 95.93 MB / 1.554 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.2407/1.044, allocations: 167.8 MB / 1.718 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006629/1.051, allocations: 131.2 kB / 1.718 GB, free: 380 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006719/1.057, allocations: 1.568 MB / 1.72 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01907/1.076, allocations: 4.851 MB / 1.725 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01849/1.095, allocations: 4.717 MB / 1.729 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.03931/1.134, allocations: 29.93 MB / 1.759 GB, free: 7.25 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01665/1.151, allocations: 9.756 MB / 1.768 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01504/1.166, allocations: 6.947 MB / 1.775 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01342/1.18, allocations: 7.016 MB / 1.782 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002127/1.182, allocations: 432 kB / 1.782 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/1.192, allocations: 2.573 MB / 1.785 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.004209/1.196, allocations: 2.101 MB / 1.787 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.004897/1.201, allocations: 2.258 MB / 1.789 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.02336/1.224, allocations: 15.52 MB / 1.804 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.93e-06/1.224, allocations: 0 / 1.804 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.45e-06/1.224, allocations: 0 / 1.804 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000372/1.225, allocations: 4 kB / 1.804 GB, free: 8.434 MB / 0.8698 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.02743/1.252, allocations: 10.28 MB / 1.814 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.252, allocations: 12.02 kB / 1.814 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/1.266, allocations: 2.266 MB / 1.816 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02741/1.294, allocations: 10.1 MB / 1.826 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/1.295, allocations: 0.6769 MB / 1.827 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/1.297, allocations: 0.824 MB / 1.828 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/1.329, allocations: 11.99 MB / 1.839 GB, free: 3.715 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000245/1.329, allocations: 27.73 kB / 1.839 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/1.33, allocations: 348 kB / 1.84 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004096/1.331, allocations: 347.5 kB / 1.84 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/1.364, allocations: 11.06 MB / 1.851 GB, free: 7.934 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 removeSimpleEquations (simulation): time 1.186/2.55, allocations: 47 MB / 1.897 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/2.57, allocations: 7.895 MB / 1.904 GB, free: 314.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01071/2.58, allocations: 4.165 MB / 1.909 GB, free: 313.3 MB / 0.948 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.0442/2.625, allocations: 18.23 MB / 1.926 GB, free: 303.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01004/2.635, allocations: 3.727 MB / 1.93 GB, free: 302.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004832/2.64, allocations: 0.6933 MB / 1.931 GB, free: 302.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=508): time 2.009e-05/2.64, allocations: 0 / 1.931 GB, free: 302.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=508): time 0.0272/2.667, allocations: 9.491 MB / 1.94 GB, free: 298.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/2.667, allocations: 333.5 kB / 1.94 GB, free: 298.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01378/2.681, allocations: 7.296 MB / 1.947 GB, free: 294.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001107/2.682, allocations: 132.5 kB / 1.947 GB, free: 294.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004653/2.687, allocations: 4.406 MB / 1.952 GB, free: 290.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/2.689, allocations: 1.754 MB / 1.953 GB, free: 289 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006511/2.69, allocations: 130.6 kB / 1.954 GB, free: 288.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004168/2.69, allocations: 0.559 MB / 1.954 GB, free: 288.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008692/2.699, allocations: 3.427 MB / 1.958 GB, free: 286.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009961/2.709, allocations: 5.141 MB / 1.963 GB, free: 282.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/2.719, allocations: 4.286 MB / 1.967 GB, free: 280.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-05/2.719, allocations: 11.59 kB / 1.967 GB, free: 280.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02465/2.744, allocations: 9.595 MB / 1.976 GB, free: 271.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006667/2.745, allocations: 1.5 MB / 1.978 GB, free: 269.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.148e-05/2.745, allocations: 48 kB / 1.978 GB, free: 269.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.334e-05/2.745, allocations: 87.95 kB / 1.978 GB, free: 269.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009261/2.754, allocations: 1.65 MB / 1.979 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001284/2.754, allocations: 111.5 kB / 1.979 GB, free: 267.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009413/2.764, allocations: 0.6878 MB / 1.98 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001507/2.765, allocations: 315.9 kB / 1.98 GB, free: 266.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/2.765, allocations: 0 / 1.98 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01988/2.785, allocations: 8.873 MB / 1.989 GB, free: 257.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.916e-05/2.785, allocations: 44 kB / 1.989 GB, free: 257.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.28e-05/2.785, allocations: 88 kB / 1.989 GB, free: 257.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008805/2.794, allocations: 1.637 MB / 1.991 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001082/2.794, allocations: 107.7 kB / 1.991 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00875/2.803, allocations: 0.6644 MB / 1.992 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/2.804, allocations: 303.9 kB / 1.992 GB, free: 254.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (832): * Single equations (assignments): 829 * 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.006681/2.811, allocations: 3.259 MB / 1.995 GB, free: 251.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/2.813, allocations: 0.7678 MB / 1.996 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/2.832, allocations: 8.009 MB / 2.004 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.795e-05/2.832, allocations: 63.92 kB / 2.004 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/2.832, allocations: 2.812 kB / 2.004 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01437/2.847, allocations: 6.369 MB / 2.01 GB, free: 236.1 MB / 0.948 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.03759/2.884, allocations: 17.14 MB / 2.027 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/2.885, allocations: 7.922 kB / 2.027 GB, free: 218.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007165/2.892, allocations: 1.19 MB / 2.028 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.169e-05/2.892, allocations: 16 kB / 2.028 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005282/2.892, allocations: 155.9 kB / 2.028 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.622e-05/2.892, allocations: 20 kB / 2.028 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.48e-06/2.892, allocations: 0 / 2.028 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02489/2.917, allocations: 11.55 MB / 2.039 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005443/2.923, allocations: 1.818 MB / 2.041 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/2.924, allocations: 115.9 kB / 2.041 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00734/2.932, allocations: 0.6315 MB / 2.042 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007996/2.933, allocations: 311.7 kB / 2.042 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007135/2.933, allocations: 227.8 kB / 2.042 GB, free: 202.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009433/2.943, allocations: 5.088 MB / 2.047 GB, free: 197.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.068e-06/2.943, allocations: 7.938 kB / 2.047 GB, free: 197.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01596/2.959, allocations: 4.96 MB / 2.052 GB, free: 192.7 MB / 0.948 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 (537): * Single equations (assignments): 527 * 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.003787/2.963, allocations: 1.325 MB / 2.053 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02806/2.991, allocations: 12.51 MB / 2.066 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/2.991, allocations: 10.75 kB / 2.066 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007723/2.998, allocations: 3.463 MB / 2.069 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02036/3.019, allocations: 4.2 MB / 2.073 GB, free: 171.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/3.059, allocations: 23.78 MB / 2.096 GB, free: 147.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007781/3.066, allocations: 6.239 MB / 2.102 GB, free: 141.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0184/3.085, allocations: 4.151 MB / 2.106 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003337/3.088, allocations: 0.7022 MB / 2.107 GB, free: 136.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.659e-06/3.088, allocations: 0 / 2.107 GB, free: 136.6 MB / 0.948 GB Notification: Performance of Templates: time 0.8485/3.937, allocations: 158.6 MB / 2.262 GB, free: 301.7 MB / 0.948 GB