Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.14/2.14, allocations: 251.1 MB / 266.7 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 176.4 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009362/0.0009361, allocations: 87.8 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006466, allocations: 11.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2238, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1409/0.3648, allocations: 95.95 MB / 0.9932 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.8925/1.257, allocations: 168.2 MB / 1.157 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00636/1.264, allocations: 134.3 kB / 1.158 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006784/1.271, allocations: 1.464 MB / 1.159 GB, free: 2.035 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.01523/1.286, allocations: 3.928 MB / 1.163 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01637/1.302, allocations: 4.062 MB / 1.167 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.04415/1.347, allocations: 30.13 MB / 1.196 GB, free: 44 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02522/1.372, allocations: 10.51 MB / 1.207 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01957/1.391, allocations: 7.133 MB / 1.213 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01712/1.409, allocations: 7.005 MB / 1.22 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003438/1.412, allocations: 432 kB / 1.221 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/1.426, allocations: 2.729 MB / 1.223 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.005549/1.431, allocations: 2.077 MB / 1.225 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00622/1.438, allocations: 2.25 MB / 1.228 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02799/1.466, allocations: 15.44 MB / 1.243 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/1.466, allocations: 0 / 1.243 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.655e-06/1.466, allocations: 0 / 1.243 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005987/1.466, allocations: 0 / 1.243 GB, free: 1.848 MB / 0.7605 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.04288/1.509, allocations: 10.27 MB / 1.253 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.509, allocations: 12.03 kB / 1.253 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02079/1.53, allocations: 2.258 MB / 1.255 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03372/1.564, allocations: 10.07 MB / 1.265 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001537/1.566, allocations: 0.6835 MB / 1.265 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003459/1.569, allocations: 0.8153 MB / 1.266 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04274/1.612, allocations: 11.9 MB / 1.278 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004134/1.612, allocations: 27.77 kB / 1.278 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/1.615, allocations: 342.7 kB / 1.278 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004876/1.615, allocations: 343.5 kB / 1.279 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05673/1.672, allocations: 11.06 MB / 1.289 GB, free: 1.852 MB / 0.8073 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.1511/1.823, allocations: 46.93 MB / 1.335 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02675/1.85, allocations: 7.9 MB / 1.343 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01437/1.865, allocations: 4.161 MB / 1.347 GB, free: 4.992 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 evalFunc (simulation): time 0.05855/1.923, allocations: 18.16 MB / 1.365 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01396/1.937, allocations: 3.633 MB / 1.368 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006323/1.944, allocations: 0.6933 MB / 1.369 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=508): time 1.833e-05/1.944, allocations: 0 / 1.369 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of matching and sorting (n=508): time 0.03925/1.983, allocations: 9.476 MB / 1.378 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002254/1.983, allocations: 346.6 kB / 1.379 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01897/2.002, allocations: 7.295 MB / 1.386 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001479/2.004, allocations: 125.7 kB / 1.386 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006905/2.011, allocations: 4.404 MB / 1.39 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003371/2.014, allocations: 1.748 MB / 1.392 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008987/2.015, allocations: 132 kB / 1.392 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0006704/2.016, allocations: 0.563 MB / 1.392 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01327/2.029, allocations: 3.417 MB / 1.396 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01545/2.045, allocations: 5.138 MB / 1.401 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/2.06, allocations: 4.276 MB / 1.405 GB, free: 8.164 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-05/2.06, allocations: 12 kB / 1.405 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of matching and sorting (n=834) (initialization): time 1.179/3.239, allocations: 9.599 MB / 1.414 GB, free: 353.2 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/3.24, allocations: 1.505 MB / 1.416 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/3.241, allocations: 47.62 kB / 1.416 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/3.241, allocations: 79.19 kB / 1.416 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/3.255, allocations: 1.644 MB / 1.418 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001965/3.255, allocations: 106 kB / 1.418 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/3.269, allocations: 0.6866 MB / 1.418 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/3.271, allocations: 316.6 kB / 1.419 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/3.271, allocations: 8.438 kB / 1.419 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03512/3.306, allocations: 8.861 MB / 1.427 GB, free: 351 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/3.306, allocations: 52.52 kB / 1.427 GB, free: 351 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/3.306, allocations: 80.03 kB / 1.427 GB, free: 351 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01498/3.321, allocations: 1.625 MB / 1.429 GB, free: 350.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002756/3.322, allocations: 109 kB / 1.429 GB, free: 350.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01379/3.336, allocations: 0.668 MB / 1.43 GB, free: 350.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002207/3.338, allocations: 310.3 kB / 1.43 GB, free: 350.9 MB / 0.9324 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 (831): * Single equations (assignments): 828 * 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.01018/3.348, allocations: 3.249 MB / 1.433 GB, free: 350.3 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003151/3.351, allocations: 0.7596 MB / 1.434 GB, free: 350.3 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03355/3.385, allocations: 8.016 MB / 1.442 GB, free: 347.3 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02332/3.408, allocations: 6.371 MB / 1.448 GB, free: 344.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/3.408, allocations: 3.656 kB / 1.448 GB, free: 344.8 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006395/3.415, allocations: 1.784 MB / 1.45 GB, free: 344.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002962/3.418, allocations: 110.9 kB / 1.45 GB, free: 344 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01216/3.43, allocations: 0.5952 MB / 1.45 GB, free: 343.9 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/3.431, allocations: 307.7 kB / 1.451 GB, free: 343.9 MB / 0.9324 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03225/3.463, allocations: 7.579 MB / 1.458 GB, free: 341.3 MB / 0.9324 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03715/3.501, allocations: 12.03 MB / 1.47 GB, free: 334.3 MB / 0.9324 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0101/3.511, allocations: 3.457 MB / 1.473 GB, free: 330.9 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.0109/3.522, allocations: 5.003 MB / 1.478 GB, free: 325.9 MB / 0.9324 GB Notification: Performance of Backend: time 1.382e-06/3.522, allocations: 0 / 1.478 GB, free: 325.9 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.03765/3.56, allocations: 11.16 MB / 1.489 GB, free: 315.2 MB / 0.9324 GB Notification: Performance of SimCode: time 0.06329/3.623, allocations: 24.73 MB / 1.513 GB, free: 290.4 MB / 0.9324 GB Notification: Performance of Templates: time 0.4468/4.07, allocations: 191.2 MB / 1.7 GB, free: 99.79 MB / 0.9324 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)