Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.048/2.048, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001963/0.001963, allocations: 189 kB / 326.3 MB, free: 2.855 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.269/2.269, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009201/0.00092, allocations: 91.36 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.000466, allocations: 13.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1912, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels): time 0.0603/0.2515, allocations: 49.66 MB / 0.948 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8456/1.097, allocations: 152.1 MB / 1.097 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005474/1.103, allocations: 76.88 kB / 1.097 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00568/1.108, allocations: 0.7955 MB / 1.097 GB, free: 1.57 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.01478/1.123, allocations: 2.161 MB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01305/1.136, allocations: 1.774 MB / 1.101 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.1531/1.289, allocations: 72.56 MB / 1.172 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07007/1.36, allocations: 24.25 MB / 1.196 GB, free: 6.301 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03935/1.399, allocations: 15.55 MB / 1.211 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05201/1.451, allocations: 15.84 MB / 1.226 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.009563/1.461, allocations: 0.8437 MB / 1.227 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02544/1.486, allocations: 1.908 MB / 1.229 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.01461/1.501, allocations: 4.361 MB / 1.233 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.01297/1.514, allocations: 4.837 MB / 1.238 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.05356/1.568, allocations: 31.73 MB / 1.269 GB, free: 8.281 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.568, allocations: 0 / 1.269 GB, free: 8.281 MB / 0.8074 GB Notification: Performance of FrontEnd: time 2.394e-06/1.568, allocations: 0 / 1.269 GB, free: 8.281 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 0.001283/1.569, allocations: 0 / 1.269 GB, free: 8.281 MB / 0.8074 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.08053/1.649, allocations: 21.48 MB / 1.29 GB, free: 4.363 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.65, allocations: 8.031 kB / 1.29 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03534/1.685, allocations: 3.996 MB / 1.294 GB, free: 336 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09821/1.783, allocations: 27.67 MB / 1.321 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001914/1.785, allocations: 1.275 MB / 1.322 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007601/1.793, allocations: 1.714 MB / 1.324 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09607/1.889, allocations: 27.12 MB / 1.35 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009792/1.89, allocations: 67.42 kB / 1.35 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006474/1.896, allocations: 0.7274 MB / 1.351 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/1.898, allocations: 0.8959 MB / 1.352 GB, free: 4.762 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09304/1.991, allocations: 24.02 MB / 1.375 GB, free: 12.71 MB / 0.9167 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 1.393/3.384, allocations: 98.3 MB / 1.471 GB, free: 281.3 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04638/3.431, allocations: 15.95 MB / 1.487 GB, free: 272.4 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02631/3.457, allocations: 8.472 MB / 1.495 GB, free: 268.1 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004088/3.461, allocations: 2.088 MB / 1.497 GB, free: 266 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02739/3.489, allocations: 7.836 MB / 1.505 GB, free: 261.4 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=1023): time 1.737e-05/3.489, allocations: 0 / 1.505 GB, free: 261.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1023): time 0.07691/3.566, allocations: 20.16 MB / 1.525 GB, free: 245.3 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/3.566, allocations: 283.9 kB / 1.525 GB, free: 244.9 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03814/3.604, allocations: 15.88 MB / 1.54 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.003052/3.607, allocations: 221.7 kB / 1.541 GB, free: 229 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01354/3.621, allocations: 9.821 MB / 1.55 GB, free: 219.8 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.006443/3.627, allocations: 3.578 MB / 1.554 GB, free: 216.2 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00283/3.63, allocations: 256 kB / 1.554 GB, free: 216 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.001168/3.631, allocations: 0.8354 MB / 1.555 GB, free: 215.1 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02401/3.655, allocations: 6.809 MB / 1.561 GB, free: 208.3 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.027/3.682, allocations: 10.44 MB / 1.572 GB, free: 196.3 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02778/3.71, allocations: 8.763 MB / 1.58 GB, free: 187.5 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.343e-05/3.71, allocations: 35.94 kB / 1.58 GB, free: 187.5 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1649) (initialization): time 0.06853/3.779, allocations: 19.32 MB / 1.599 GB, free: 168.1 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.001949/3.781, allocations: 3.36 MB / 1.602 GB, free: 163.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/3.781, allocations: 106 kB / 1.603 GB, free: 163.1 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/3.781, allocations: 176 kB / 1.603 GB, free: 163 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02864/3.81, allocations: 3.233 MB / 1.606 GB, free: 159.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003664/3.81, allocations: 247.2 kB / 1.606 GB, free: 159.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02874/3.839, allocations: 1.923 MB / 1.608 GB, free: 157.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003475/3.843, allocations: 0.6169 MB / 1.609 GB, free: 156.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/3.843, allocations: 7.938 kB / 1.609 GB, free: 156.9 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06328/3.906, allocations: 17.9 MB / 1.626 GB, free: 138.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002598/3.906, allocations: 108 kB / 1.626 GB, free: 138.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/3.906, allocations: 176 kB / 1.626 GB, free: 138.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02885/3.935, allocations: 3.23 MB / 1.629 GB, free: 135.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003553/3.936, allocations: 247.2 kB / 1.63 GB, free: 135.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02711/3.963, allocations: 1.745 MB / 1.631 GB, free: 133.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003593/3.966, allocations: 0.6131 MB / 1.632 GB, free: 132.8 MB / 0.9324 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.02048/3.987, allocations: 7.66 MB / 1.64 GB, free: 125.1 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007088/3.994, allocations: 1.659 MB / 1.641 GB, free: 123.5 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06618/4.06, allocations: 17.13 MB / 1.658 GB, free: 106.2 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04954/4.11, allocations: 12.89 MB / 1.67 GB, free: 93.23 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/4.11, allocations: 6.078 kB / 1.67 GB, free: 93.23 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01453/4.125, allocations: 3.711 MB / 1.674 GB, free: 89.48 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007152/4.132, allocations: 224 kB / 1.674 GB, free: 89.26 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02778/4.16, allocations: 1.181 MB / 1.675 GB, free: 88.09 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002695/4.162, allocations: 0.5657 MB / 1.676 GB, free: 87.52 MB / 0.9324 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07234/4.235, allocations: 16.12 MB / 1.692 GB, free: 71.46 MB / 0.9324 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08288/4.318, allocations: 25.35 MB / 1.717 GB, free: 45.94 MB / 0.9324 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02164/4.339, allocations: 7.242 MB / 1.724 GB, free: 38.66 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.0284/4.368, allocations: 11.11 MB / 1.734 GB, free: 27.63 MB / 0.9324 GB Notification: Performance of Backend: time 1.373e-06/4.368, allocations: 0 / 1.734 GB, free: 27.63 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.07604/4.444, allocations: 20.45 MB / 1.754 GB, free: 7.551 MB / 0.9324 GB Notification: Performance of SimCode: time 1.504/5.948, allocations: 56.38 MB / 1.809 GB, free: 292.5 MB / 0.9325 GB Notification: Performance of Templates: time 1.592/7.541, allocations: 399 MB / 2.199 GB, free: 248.7 MB / 0.9325 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)