Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.871/1.871, allocations: 287.4 MB / 303.2 MB, free: 8.223 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.0009466/0.0009465, allocations: 176.2 kB / 371.8 MB, free: 10.83 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.311/1.311, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0007613/0.0007613, allocations: 92.56 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 14.81 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.04976/0.2321, allocations: 56.94 MB / 1.035 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.5624/0.7946, allocations: 153.1 MB / 1.184 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.7982, allocations: 78.91 kB / 1.184 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.8014, allocations: 0.7633 MB / 1.185 GB, free: 0.6875 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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.00787/0.8093, allocations: 2.277 MB / 1.187 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006901/0.8162, allocations: 2.175 MB / 1.19 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.04269/0.8589, allocations: 46.09 MB / 1.235 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02927/0.8882, allocations: 17.21 MB / 1.251 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02042/0.9087, allocations: 10.24 MB / 1.261 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01851/0.9272, allocations: 10.25 MB / 1.271 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.004941/0.9322, allocations: 0.5586 MB / 1.272 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/0.9445, allocations: 1.721 MB / 1.274 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.006685/0.9512, allocations: 2.902 MB / 1.276 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.007462/0.9587, allocations: 3.189 MB / 1.28 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.02595/0.9847, allocations: 21.15 MB / 1.3 GB, free: 3.066 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.9847, allocations: 0 / 1.3 GB, free: 3.066 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9847, allocations: 4 kB / 1.3 GB, free: 3.062 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0009521/0.9857, allocations: 0 / 1.3 GB, free: 3.062 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: 3084 * Number of variables: 3084 Notification: Performance of Generate backend data structure: time 0.03485/1.021, allocations: 14.13 MB / 1.314 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.021, allocations: 8.031 kB / 1.314 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01921/1.04, allocations: 3.376 MB / 1.317 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03378/1.074, allocations: 17.5 MB / 1.334 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000797/1.074, allocations: 0.8548 MB / 1.335 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003876/1.078, allocations: 1.152 MB / 1.336 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04094/1.119, allocations: 18.11 MB / 1.354 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003279/1.12, allocations: 35.72 kB / 1.354 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/1.122, allocations: 500 kB / 1.355 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005171/1.122, allocations: 0.5844 MB / 1.355 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04037/1.163, allocations: 16.27 MB / 1.371 GB, free: 9.738 MB / 0.9011 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.8077/1.97, allocations: 64.26 MB / 1.434 GB, free: 295.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/1.992, allocations: 10.36 MB / 1.444 GB, free: 294.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01171/2.003, allocations: 5.713 MB / 1.449 GB, free: 292.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002538/2.006, allocations: 2.453 MB / 1.452 GB, free: 290 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01261/2.018, allocations: 5.856 MB / 1.458 GB, free: 288.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=706): time 1.114e-05/2.019, allocations: 1.031 kB / 1.458 GB, free: 288.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=706): time 0.03492/2.053, allocations: 14.18 MB / 1.471 GB, free: 283.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/2.054, allocations: 305.8 kB / 1.472 GB, free: 283.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0182/2.072, allocations: 10.54 MB / 1.482 GB, free: 279.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001643/2.074, allocations: 169.3 kB / 1.482 GB, free: 279.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004866/2.078, allocations: 6.376 MB / 1.488 GB, free: 275.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002778/2.081, allocations: 2.45 MB / 1.491 GB, free: 273.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/2.082, allocations: 173.5 kB / 1.491 GB, free: 273.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003543/2.082, allocations: 0.6516 MB / 1.492 GB, free: 272.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008488/2.091, allocations: 4.658 MB / 1.496 GB, free: 270.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009408/2.1, allocations: 6.94 MB / 1.503 GB, free: 265.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01864/2.119, allocations: 12.13 MB / 1.515 GB, free: 257.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.205e-05/2.119, allocations: 18.59 kB / 1.515 GB, free: 257.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02877/2.148, allocations: 13.12 MB / 1.528 GB, free: 246.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007503/2.148, allocations: 2.061 MB / 1.53 GB, free: 243.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.528e-05/2.148, allocations: 64 kB / 1.53 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/2.149, allocations: 191 kB / 1.53 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009775/2.159, allocations: 2.218 MB / 1.532 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/2.161, allocations: 1.672 MB / 1.534 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/2.173, allocations: 1.33 MB / 1.535 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/2.175, allocations: 431.6 kB / 1.535 GB, free: 237.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/2.175, allocations: 5.875 kB / 1.535 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02917/2.204, allocations: 12.15 MB / 1.547 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/2.204, allocations: 68.88 kB / 1.547 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/2.205, allocations: 184.8 kB / 1.547 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/2.215, allocations: 2.219 MB / 1.55 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/2.217, allocations: 1.686 MB / 1.551 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/2.229, allocations: 1.216 MB / 1.552 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002005/2.231, allocations: 427.8 kB / 1.553 GB, free: 219.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (1104): * Single equations (assignments): 1103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01058/2.242, allocations: 4.863 MB / 1.558 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00425/2.246, allocations: 1.104 MB / 1.559 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02866/2.275, allocations: 12.21 MB / 1.571 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01808/2.293, allocations: 9.352 MB / 1.58 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/2.293, allocations: 0 / 1.58 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007453/2.3, allocations: 2.641 MB / 1.582 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003237/2.304, allocations: 155.9 kB / 1.582 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01046/2.314, allocations: 0.836 MB / 1.583 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009667/2.315, allocations: 419.9 kB / 1.584 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02663/2.342, allocations: 11.25 MB / 1.595 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03086/2.373, allocations: 17.54 MB / 1.612 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009028/2.382, allocations: 5.061 MB / 1.617 GB, free: 153.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0129/2.395, allocations: 7.364 MB / 1.624 GB, free: 146.1 MB / 0.948 GB Notification: Performance of Backend: time 9.42e-07/2.395, allocations: 0 / 1.624 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03753/2.432, allocations: 14.6 MB / 1.638 GB, free: 131.8 MB / 0.948 GB Notification: Performance of SimCode: time 0.06879/2.501, allocations: 36.62 MB / 1.674 GB, free: 95.2 MB / 0.948 GB Notification: Performance of Templates: time 1.029/3.531, allocations: 272.4 MB / 1.94 GB, free: 237.8 MB / 0.9794 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)