Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.4 MB / 304.3 MB, free: 8.172 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.0009182/0.0009181, allocations: 169.8 kB / 372.9 MB, free: 10.16 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.286/1.286, allocations: 205.4 MB / 0.6316 GB, free: 9.906 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.0007566/0.0007567, allocations: 94.2 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 10.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.03887/0.2013, allocations: 49.9 MB / 1.029 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.502/0.7033, allocations: 152.5 MB / 1.178 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.7061, allocations: 76.91 kB / 1.178 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.7081, allocations: 0.7755 MB / 1.179 GB, free: 5.215 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.006155/0.7143, allocations: 2.359 MB / 1.182 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.7192, allocations: 1.923 MB / 1.183 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.05921/0.7784, allocations: 72.89 MB / 1.255 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03736/0.8158, allocations: 25.91 MB / 1.28 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02779/0.8437, allocations: 15.56 MB / 1.295 GB, free: 8.52 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02721/0.8709, allocations: 15.95 MB / 1.311 GB, free: 8.496 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.004754/0.8757, allocations: 0.8516 MB / 1.312 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.8892, allocations: 2.142 MB / 1.314 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.008505/0.8978, allocations: 4.47 MB / 1.318 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.02098/0.9188, allocations: 11.13 MB / 1.329 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.034/0.9528, allocations: 32.31 MB / 1.36 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9528, allocations: 7.938 kB / 1.36 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9528, allocations: 0 / 1.36 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00106/0.9539, allocations: 0 / 1.36 GB, free: 5.418 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4629 * Number of variables: 4629 Notification: Performance of Generate backend data structure: time 0.04714/1.001, allocations: 21.38 MB / 1.381 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.001, allocations: 8.031 kB / 1.381 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0227/1.024, allocations: 4.276 MB / 1.385 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05368/1.078, allocations: 27.84 MB / 1.413 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001228/1.079, allocations: 1.284 MB / 1.414 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005189/1.084, allocations: 1.726 MB / 1.416 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7082/1.792, allocations: 27.68 MB / 1.443 GB, free: 300.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004943/1.793, allocations: 69.45 kB / 1.443 GB, free: 300.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002663/1.795, allocations: 0.74 MB / 1.443 GB, free: 299.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008394/1.796, allocations: 0.8953 MB / 1.444 GB, free: 299.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05408/1.85, allocations: 24.46 MB / 1.468 GB, free: 291 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 removeSimpleEquations (simulation): time 0.1231/1.973, allocations: 99.67 MB / 1.566 GB, free: 207.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/1.997, allocations: 16.01 MB / 1.581 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01304/2.01, allocations: 8.709 MB / 1.59 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/2.012, allocations: 2.097 MB / 1.592 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0137/2.026, allocations: 8.265 MB / 1.6 GB, free: 172.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 1.31e-05/2.026, allocations: 4 kB / 1.6 GB, free: 172.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.03887/2.065, allocations: 20.79 MB / 1.62 GB, free: 151.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/2.065, allocations: 373.1 kB / 1.62 GB, free: 151 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02083/2.086, allocations: 16.24 MB / 1.636 GB, free: 134.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002366/2.088, allocations: 245.7 kB / 1.637 GB, free: 134.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007436/2.096, allocations: 9.838 MB / 1.646 GB, free: 124.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003871/2.1, allocations: 3.615 MB / 1.65 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008333/2.1, allocations: 260 kB / 1.65 GB, free: 121 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004896/2.101, allocations: 0.8396 MB / 1.651 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01189/2.113, allocations: 7.016 MB / 1.658 GB, free: 113.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/2.127, allocations: 10.67 MB / 1.668 GB, free: 100.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02813/2.155, allocations: 18.63 MB / 1.686 GB, free: 80.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.929e-05/2.155, allocations: 32 kB / 1.686 GB, free: 80.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=1666) (initialization): time 0.03906/2.194, allocations: 19.77 MB / 1.706 GB, free: 60.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00133/2.195, allocations: 3.339 MB / 1.709 GB, free: 56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-05/2.195, allocations: 104 kB / 1.709 GB, free: 55.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/2.195, allocations: 176 kB / 1.709 GB, free: 55.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01505/2.211, allocations: 3.292 MB / 1.712 GB, free: 52.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002217/2.211, allocations: 247.2 kB / 1.713 GB, free: 52.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01676/2.228, allocations: 1.967 MB / 1.714 GB, free: 50.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/2.23, allocations: 0.6286 MB / 1.715 GB, free: 49.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/2.23, allocations: 4 kB / 1.715 GB, free: 49.58 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03315/2.263, allocations: 18.34 MB / 1.733 GB, free: 31.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/2.263, allocations: 112.2 kB / 1.733 GB, free: 31.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/2.263, allocations: 172 kB / 1.733 GB, free: 30.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01406/2.277, allocations: 3.292 MB / 1.736 GB, free: 27.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001727/2.278, allocations: 247.2 kB / 1.737 GB, free: 27.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/2.293, allocations: 1.785 MB / 1.738 GB, free: 25.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/2.294, allocations: 0.6286 MB / 1.739 GB, free: 24.94 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled,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 (1666): * Single equations (assignments): 1666 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01208/2.306, allocations: 7.69 MB / 1.747 GB, free: 17.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003982/2.31, allocations: 1.683 MB / 1.748 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03098/2.341, allocations: 16.81 MB / 1.765 GB, free: 14.63 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0269/2.368, allocations: 13.31 MB / 1.778 GB, free: 1.219 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/2.368, allocations: 0 / 1.778 GB, free: 1.219 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01033/2.379, allocations: 3.902 MB / 1.781 GB, free: 13.27 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003735/2.383, allocations: 220 kB / 1.782 GB, free: 13.06 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01416/2.397, allocations: 1.221 MB / 1.783 GB, free: 11.85 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/2.398, allocations: 0.5736 MB / 1.783 GB, free: 11.27 MB / 0.9793 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.7235/3.122, allocations: 16.53 MB / 1.8 GB, free: 310.3 MB / 0.9794 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05357/3.175, allocations: 26.01 MB / 1.825 GB, free: 301.3 MB / 0.9794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01356/3.189, allocations: 7.454 MB / 1.832 GB, free: 298.6 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.01873/3.208, allocations: 11.39 MB / 1.843 GB, free: 294.9 MB / 0.9794 GB Notification: Performance of Backend: time 1.733e-06/3.208, allocations: 0 / 1.843 GB, free: 294.9 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.0482/3.256, allocations: 21.35 MB / 1.864 GB, free: 288 MB / 0.9794 GB Notification: Performance of SimCode: time 0.09428/3.35, allocations: 56.51 MB / 1.919 GB, free: 241.6 MB / 0.9794 GB Notification: Performance of Templates: time 0.8971/4.247, allocations: 414.1 MB / 2.324 GB, free: 212.7 MB / 0.995 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)