Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.001385/0.001385, allocations: 187.8 kB / 372.9 MB, free: 10.15 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.327/1.327, allocations: 205.4 MB / 0.6316 GB, free: 9.883 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.0007447/0.0007455, allocations: 88.19 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1771, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels): time 0.03947/0.2166, allocations: 49.66 MB / 1.029 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.526/0.7427, allocations: 152.1 MB / 1.178 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.7454, allocations: 80.88 kB / 1.178 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.7474, allocations: 0.7963 MB / 1.179 GB, free: 5.84 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.005682/0.7531, allocations: 2.258 MB / 1.181 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/0.7578, allocations: 1.827 MB / 1.183 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.05721/0.815, allocations: 72.74 MB / 1.254 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0347/0.8498, allocations: 25.83 MB / 1.279 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02753/0.8773, allocations: 15.52 MB / 1.294 GB, free: 9.461 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02484/0.9022, allocations: 15.89 MB / 1.31 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003887/0.9061, allocations: 0.8553 MB / 1.31 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.9165, allocations: 2.118 MB / 1.312 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004899/0.9214, allocations: 4.443 MB / 1.317 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.01717/0.9386, allocations: 11.08 MB / 1.328 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0293/0.9679, allocations: 32.19 MB / 1.359 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.9679, allocations: 0 / 1.359 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/0.968, allocations: 0 / 1.359 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009782/0.9689, allocations: 0 / 1.359 GB, free: 6.652 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: 4613 * Number of variables: 4613 Notification: Performance of Generate backend data structure: time 0.04397/1.013, allocations: 21.28 MB / 1.38 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.013, allocations: 8.031 kB / 1.38 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02113/1.034, allocations: 4.011 MB / 1.384 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05303/1.087, allocations: 28.34 MB / 1.411 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009555/1.088, allocations: 1.272 MB / 1.413 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004729/1.093, allocations: 1.71 MB / 1.414 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7006/1.794, allocations: 27.45 MB / 1.441 GB, free: 300.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006412/1.794, allocations: 67.06 kB / 1.441 GB, free: 300 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003638/1.798, allocations: 0.7406 MB / 1.442 GB, free: 299.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/1.799, allocations: 0.8931 MB / 1.443 GB, free: 299.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05415/1.854, allocations: 24.01 MB / 1.466 GB, free: 290.7 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.1218/1.975, allocations: 98.68 MB / 1.563 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02409/1.999, allocations: 15.96 MB / 1.578 GB, free: 194.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0131/2.013, allocations: 8.471 MB / 1.586 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/2.015, allocations: 2.084 MB / 1.589 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01335/2.028, allocations: 8.041 MB / 1.596 GB, free: 175.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1023): time 1.363e-05/2.028, allocations: 0 / 1.596 GB, free: 175.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=1023): time 0.03533/2.063, allocations: 20.17 MB / 1.616 GB, free: 155.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/2.064, allocations: 291.9 kB / 1.616 GB, free: 155.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02165/2.085, allocations: 15.87 MB / 1.632 GB, free: 139.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002227/2.087, allocations: 229.7 kB / 1.632 GB, free: 139.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007911/2.095, allocations: 9.819 MB / 1.642 GB, free: 129.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004359/2.1, allocations: 3.588 MB / 1.645 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009504/2.101, allocations: 252 kB / 1.645 GB, free: 125.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000641/2.101, allocations: 0.8432 MB / 1.646 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01202/2.113, allocations: 6.809 MB / 1.653 GB, free: 117.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01447/2.128, allocations: 10.44 MB / 1.663 GB, free: 106 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02722/2.155, allocations: 18.24 MB / 1.681 GB, free: 86.13 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.466e-05/2.155, allocations: 36 kB / 1.681 GB, free: 86.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=1649) (initialization): time 0.03404/2.189, allocations: 19.32 MB / 1.7 GB, free: 66.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/2.19, allocations: 3.347 MB / 1.703 GB, free: 61.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-05/2.191, allocations: 108 kB / 1.703 GB, free: 61.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/2.191, allocations: 172 kB / 1.703 GB, free: 61.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/2.204, allocations: 3.245 MB / 1.707 GB, free: 58.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002084/2.204, allocations: 247.3 kB / 1.707 GB, free: 58.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/2.221, allocations: 1.922 MB / 1.709 GB, free: 56.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002422/2.223, allocations: 0.6286 MB / 1.709 GB, free: 55.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/2.223, allocations: 5.562 kB / 1.709 GB, free: 55.49 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03082/2.254, allocations: 17.89 MB / 1.727 GB, free: 37.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/2.254, allocations: 108 kB / 1.727 GB, free: 37.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/2.254, allocations: 176 kB / 1.727 GB, free: 37.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/2.268, allocations: 3.238 MB / 1.73 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002107/2.268, allocations: 239.2 kB / 1.73 GB, free: 33.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01492/2.283, allocations: 1.746 MB / 1.732 GB, free: 32.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/2.285, allocations: 0.6208 MB / 1.733 GB, free: 31.4 MB / 0.948 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 ($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 (1649): * Single equations (assignments): 1649 * 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.01223/2.298, allocations: 7.669 MB / 1.74 GB, free: 23.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003676/2.301, allocations: 1.675 MB / 1.742 GB, free: 22.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02838/2.33, allocations: 17.1 MB / 1.759 GB, free: 4.812 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02302/2.353, allocations: 12.9 MB / 1.771 GB, free: 7.809 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/2.353, allocations: 4 kB / 1.771 GB, free: 7.805 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009862/2.363, allocations: 3.805 MB / 1.775 GB, free: 3.957 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003894/2.367, allocations: 223.8 kB / 1.775 GB, free: 3.742 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01482/2.381, allocations: 1.187 MB / 1.776 GB, free: 2.57 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001814/2.383, allocations: 0.5696 MB / 1.777 GB, free: 1.996 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04115/2.424, allocations: 16.11 MB / 1.792 GB, free: 1.941 MB / 0.9793 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.7616/3.186, allocations: 25.37 MB / 1.817 GB, free: 307.2 MB / 0.9794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01376/3.2, allocations: 7.244 MB / 1.824 GB, free: 304.6 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.02034/3.22, allocations: 11.11 MB / 1.835 GB, free: 301 MB / 0.9794 GB Notification: Performance of Backend: time 8.72e-07/3.22, allocations: 0 / 1.835 GB, free: 301 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.04663/3.267, allocations: 20.5 MB / 1.855 GB, free: 294.5 MB / 0.9794 GB Notification: Performance of SimCode: time 0.09489/3.362, allocations: 56.26 MB / 1.91 GB, free: 250.6 MB / 0.9794 GB Notification: Performance of Templates: time 0.8939/4.256, allocations: 407.8 MB / 2.308 GB, free: 228.6 MB / 0.995 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)