Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.042/2.042, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001309/0.001308, allocations: 171.9 kB / 326.3 MB, free: 2.867 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.235/2.235, allocations: 205.4 MB / 0.5772 GB, free: 21.15 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.0009034/0.0009033, allocations: 93.67 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.0006267, allocations: 17.06 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2372, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series): time 0.08821/0.3255, allocations: 73.11 MB / 0.9709 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9502/1.276, allocations: 159.5 MB / 1.127 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005702/1.282, allocations: 107.3 kB / 1.127 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00501/1.287, allocations: 1.043 MB / 1.128 GB, free: 0.6875 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.01389/1.301, allocations: 3.212 MB / 1.131 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01117/1.312, allocations: 2.374 MB / 1.133 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.03302/1.345, allocations: 20.12 MB / 1.153 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01886/1.364, allocations: 7.889 MB / 1.161 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/1.377, allocations: 4.959 MB / 1.165 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/1.389, allocations: 4.837 MB / 1.17 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002736/1.392, allocations: 284 kB / 1.17 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009492/1.401, allocations: 1.597 MB / 1.172 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003727/1.405, allocations: 1.449 MB / 1.173 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004204/1.409, allocations: 1.66 MB / 1.175 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02041/1.43, allocations: 11.67 MB / 1.186 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.43, allocations: 0 / 1.186 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.775e-06/1.43, allocations: 0 / 1.186 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000417/1.43, allocations: 3.938 kB / 1.186 GB, free: 9.695 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1719 * Number of variables: 1719 Notification: Performance of Generate backend data structure: time 0.02875/1.459, allocations: 7.801 MB / 1.194 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/1.459, allocations: 8.031 kB / 1.194 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03266/1.492, allocations: 2.914 MB / 1.197 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02555/1.517, allocations: 7.754 MB / 1.204 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005985/1.518, allocations: 498.7 kB / 1.205 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002642/1.521, allocations: 0.6372 MB / 1.206 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/1.556, allocations: 9.339 MB / 1.215 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002345/1.557, allocations: 11.94 kB / 1.215 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/1.559, allocations: 281.1 kB / 1.215 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004267/1.559, allocations: 296.4 kB / 1.215 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04112/1.6, allocations: 9.081 MB / 1.224 GB, free: 11.87 MB / 0.7605 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.08308/1.683, allocations: 32.46 MB / 1.256 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02622/1.709, allocations: 6.231 MB / 1.262 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.013/1.723, allocations: 3.096 MB / 1.265 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004461/1.727, allocations: 2.479 MB / 1.267 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01414/1.741, allocations: 3.099 MB / 1.27 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=424): time 9.078e-06/1.741, allocations: 4 kB / 1.27 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=424): time 0.03978/1.781, allocations: 7.993 MB / 1.278 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.781, allocations: 231.2 kB / 1.278 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.794, allocations: 5.196 MB / 1.283 GB, free: 14.35 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/1.795, allocations: 109.7 kB / 1.284 GB, free: 14.24 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004845/1.8, allocations: 3.333 MB / 1.287 GB, free: 10.89 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002832/1.803, allocations: 1.434 MB / 1.288 GB, free: 9.465 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006107/1.804, allocations: 92 kB / 1.288 GB, free: 9.375 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000436/1.804, allocations: 491.7 kB / 1.289 GB, free: 8.887 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01217/1.816, allocations: 2.495 MB / 1.291 GB, free: 6.383 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/1.83, allocations: 3.53 MB / 1.295 GB, free: 2.441 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/1.844, allocations: 2.954 MB / 1.297 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.41e-05/1.844, allocations: 8 kB / 1.298 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.03116/1.875, allocations: 6.83 MB / 1.304 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008343/1.876, allocations: 0.8983 MB / 1.305 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-05/1.876, allocations: 28 kB / 1.305 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.841e-05/1.876, allocations: 51.94 kB / 1.305 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/1.889, allocations: 1.229 MB / 1.306 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001284/1.889, allocations: 67.78 kB / 1.306 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/1.901, allocations: 0.7605 MB / 1.307 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.902, allocations: 231.9 kB / 1.307 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.902, allocations: 4 kB / 1.307 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02911/1.931, allocations: 6.3 MB / 1.314 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.755e-05/1.931, allocations: 28 kB / 1.314 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.184e-05/1.931, allocations: 48 kB / 1.314 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01273/1.944, allocations: 1.232 MB / 1.315 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/1.944, allocations: 63.8 kB / 1.315 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/1.956, allocations: 0.7199 MB / 1.316 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.957, allocations: 233.7 kB / 1.316 GB, free: 12.36 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * 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 (577): * Single equations (assignments): 577 * 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.007217/1.964, allocations: 2.177 MB / 1.318 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/1.967, allocations: 0.5981 MB / 1.318 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03321/2, allocations: 7.156 MB / 1.325 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02584/2.026, allocations: 5.358 MB / 1.331 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/2.026, allocations: 3.984 kB / 1.331 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005514/2.031, allocations: 1.457 MB / 1.332 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002132/2.034, allocations: 87.92 kB / 1.332 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01098/2.045, allocations: 0.5047 MB / 1.333 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/2.046, allocations: 247.2 kB / 1.333 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03454/2.08, allocations: 6.426 MB / 1.339 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04259/2.123, allocations: 10.01 MB / 1.349 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01229/2.135, allocations: 2.944 MB / 1.352 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009171/2.144, allocations: 3.569 MB / 1.355 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of Backend: time 1.453e-06/2.144, allocations: 0 / 1.355 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03765/2.182, allocations: 8.213 MB / 1.363 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of SimCode: time 0.05302/2.235, allocations: 17.93 MB / 1.381 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of Templates: time 1.468/3.704, allocations: 145.2 MB / 1.523 GB, free: 271.8 MB / 0.9324 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)