Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 105.2 kB / 16.36 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 191.1 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 64.23 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2088, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels): time 0.3599/0.5687, allocations: 54.15 MB / 0.8377 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.7461, allocations: 167 MB / 1.001 GB, free: 12.85 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/0.7503, allocations: 83.56 kB / 1.001 GB, free: 12.77 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.7536, allocations: 1.113 MB / 1.002 GB, free: 11.64 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007877/0.7616, allocations: 2.72 MB / 1.005 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.7679, allocations: 2.538 MB / 1.007 GB, free: 6.402 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.05864/0.8265, allocations: 67.15 MB / 1.073 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04196/0.8685, allocations: 32.59 MB / 1.104 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03859/0.9071, allocations: 22.13 MB / 1.126 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8568/1.764, allocations: 19.02 MB / 1.145 GB, free: 52.85 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.009863/1.774, allocations: 2.906 MB / 1.147 GB, free: 52.85 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01729/1.791, allocations: 4.464 MB / 1.152 GB, free: 52.85 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01357/1.805, allocations: 7.245 MB / 1.159 GB, free: 52.85 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.03526/1.84, allocations: 14.48 MB / 1.173 GB, free: 52.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.04629/1.886, allocations: 40.91 MB / 1.213 GB, free: 47.92 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.886, allocations: 5.062 kB / 1.213 GB, free: 47.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/1.886, allocations: 0 / 1.213 GB, free: 47.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001232/1.888, allocations: 0 / 1.213 GB, free: 47.92 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4613 * Number of variables: 4613 Notification: Performance of Generate backend data structure: time 0.06774/1.955, allocations: 26.51 MB / 1.239 GB, free: 37.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.955, allocations: 11.83 kB / 1.239 GB, free: 37.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02495/1.98, allocations: 3.878 MB / 1.243 GB, free: 35.32 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05131/2.032, allocations: 24.84 MB / 1.267 GB, free: 24.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008701/2.033, allocations: 1.273 MB / 1.268 GB, free: 24 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006566/2.039, allocations: 1.716 MB / 1.27 GB, free: 23.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06676/2.106, allocations: 27.54 MB / 1.297 GB, free: 6.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005928/2.107, allocations: 72.36 kB / 1.297 GB, free: 6.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005862/2.113, allocations: 0.737 MB / 1.298 GB, free: 6.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006572/2.113, allocations: 0.8921 MB / 1.298 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0581/2.171, allocations: 24.05 MB / 1.322 GB, free: 15.25 MB / 0.9513 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.1698/2.341, allocations: 102.1 MB / 1.422 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02975/2.371, allocations: 16 MB / 1.437 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01741/2.388, allocations: 8.506 MB / 1.446 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00281/2.391, allocations: 2.066 MB / 1.448 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01782/2.409, allocations: 8.066 MB / 1.455 GB, free: 3.934 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1023): time 1.302e-05/2.409, allocations: 0 / 1.455 GB, free: 3.934 MB / 1.076 GB Notification: Performance of matching and sorting (n=1023): time 0.0495/2.459, allocations: 20.22 MB / 1.475 GB, free: 15.61 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/2.459, allocations: 291.2 kB / 1.476 GB, free: 15.28 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0365/2.495, allocations: 18.1 MB / 1.493 GB, free: 13.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.002891/2.498, allocations: 233.7 kB / 1.493 GB, free: 13.04 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01234/2.511, allocations: 9.769 MB / 1.503 GB, free: 3.238 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.006095/2.517, allocations: 3.584 MB / 1.506 GB, free: 15.68 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005448/2.522, allocations: 2.598 MB / 1.509 GB, free: 13.07 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/2.522, allocations: 305.3 kB / 1.509 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01435/2.537, allocations: 7.005 MB / 1.516 GB, free: 5.742 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01863/2.555, allocations: 10.58 MB / 1.526 GB, free: 9.688 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03598/2.591, allocations: 18.4 MB / 1.544 GB, free: 6.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.577e-05/2.591, allocations: 32.75 kB / 1.544 GB, free: 6.129 MB / 1.17 GB Notification: Performance of matching and sorting (n=1649) (initialization): time 0.5053/3.097, allocations: 19.6 MB / 1.564 GB, free: 473.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/3.097, allocations: 51.61 kB / 1.564 GB, free: 473.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/3.097, allocations: 106.6 kB / 1.564 GB, free: 473.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/3.097, allocations: 174.5 kB / 1.564 GB, free: 473.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01559/3.113, allocations: 3.232 MB / 1.567 GB, free: 473.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003457/3.113, allocations: 239.5 kB / 1.567 GB, free: 473.6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01909/3.132, allocations: 1.957 MB / 1.569 GB, free: 473.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002974/3.135, allocations: 0.6198 MB / 1.57 GB, free: 473.6 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02987/3.165, allocations: 13.95 MB / 1.583 GB, free: 473.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01802/3.183, allocations: 10.58 MB / 1.594 GB, free: 469.1 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03383/3.217, allocations: 18.39 MB / 1.612 GB, free: 459.1 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001933/3.217, allocations: 32.91 kB / 1.612 GB, free: 459.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=1649) (initialization_lambda0): time 0.05057/3.268, allocations: 19.61 MB / 1.631 GB, free: 452.9 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/3.268, allocations: 51.66 kB / 1.631 GB, free: 452.9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/3.268, allocations: 106.3 kB / 1.631 GB, free: 452.9 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/3.269, allocations: 175.2 kB / 1.631 GB, free: 452.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/3.284, allocations: 3.231 MB / 1.634 GB, free: 452.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002883/3.284, allocations: 235.2 kB / 1.635 GB, free: 452.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01907/3.303, allocations: 1.57 MB / 1.636 GB, free: 452.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003016/3.306, allocations: 0.6193 MB / 1.637 GB, free: 452.2 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1649): * Single equations (assignments): 1649 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005609/3.312, allocations: 0.9973 MB / 1.638 GB, free: 451.4 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006132/3.318, allocations: 1.673 MB / 1.639 GB, free: 450.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03719/3.355, allocations: 17.08 MB / 1.656 GB, free: 444.4 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02454/3.38, allocations: 12.94 MB / 1.669 GB, free: 439.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/3.38, allocations: 4 kB / 1.669 GB, free: 439.6 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01115/3.391, allocations: 4.069 MB / 1.673 GB, free: 436 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005821/3.397, allocations: 228 kB / 1.673 GB, free: 435.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0171/3.414, allocations: 0.8975 MB / 1.674 GB, free: 435.2 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002223/3.416, allocations: 0.567 MB / 1.674 GB, free: 434.8 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03603/3.452, allocations: 16.04 MB / 1.69 GB, free: 421.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04693/3.499, allocations: 25.42 MB / 1.715 GB, free: 396.8 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01205/3.511, allocations: 7.299 MB / 1.722 GB, free: 389.5 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01956/3.531, allocations: 12.8 MB / 1.734 GB, free: 376.8 MB / 1.17 GB Notification: Performance of Backend: time 8.31e-07/3.531, allocations: 3.719 kB / 1.734 GB, free: 376.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.05158/3.583, allocations: 20.78 MB / 1.755 GB, free: 356.5 MB / 1.17 GB Notification: Performance of SimCode: time 0.09796/3.681, allocations: 49.97 MB / 1.804 GB, free: 307 MB / 1.17 GB Notification: Performance of Templates: time 0.9031/4.584, allocations: 453 MB / 2.246 GB, free: 382.2 MB / 1.17 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)