Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 110.5 kB / 16.38 MB, free: 6.477 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.000997/0.000997, allocations: 186.7 kB / 17.31 MB, free: 5.812 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.823/1.823, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001442/0.001442, allocations: 71.25 kB / 0.6729 GB, free: 5.715 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1957, allocations: 114.5 MB / 0.7848 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series): time 0.3796/0.5753, allocations: 79.62 MB / 0.8625 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1856/0.7609, allocations: 174.8 MB / 1.033 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005914/0.7669, allocations: 119.3 kB / 1.033 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004768/0.7717, allocations: 1.512 MB / 1.035 GB, free: 9.594 MB / 0.8262 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.01364/0.7854, allocations: 4.078 MB / 1.039 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009553/0.795, allocations: 3.463 MB / 1.042 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02054/0.8155, allocations: 19.05 MB / 1.061 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.8278, allocations: 10.42 MB / 1.071 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.8407, allocations: 7.051 MB / 1.078 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009691/0.8504, allocations: 6.111 MB / 1.084 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002686/0.8531, allocations: 1.086 MB / 1.085 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008556/0.8617, allocations: 3 MB / 1.088 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003222/0.865, allocations: 2.516 MB / 1.09 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.007478/0.8724, allocations: 5.052 MB / 1.095 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.8884, allocations: 15.29 MB / 1.11 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8884, allocations: 4 kB / 1.11 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8885, allocations: 0 / 1.11 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002681/0.8887, allocations: 0 / 1.11 GB, free: 12.3 MB / 0.9044 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.01872/0.9075, allocations: 9.587 MB / 1.12 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9075, allocations: 8.031 kB / 1.12 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.9246, allocations: 2.732 MB / 1.122 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.9388, allocations: 7.506 MB / 1.13 GB, free: 8.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.9392, allocations: 0.4895 MB / 1.13 GB, free: 7.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.9403, allocations: 0.6444 MB / 1.131 GB, free: 7.133 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5868/1.527, allocations: 9.377 MB / 1.14 GB, free: 293.7 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/1.527, allocations: 11.91 kB / 1.14 GB, free: 293.7 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008147/1.528, allocations: 278 kB / 1.14 GB, free: 293.7 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/1.528, allocations: 293 kB / 1.14 GB, free: 293.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/1.551, allocations: 9.007 MB / 1.149 GB, free: 292.5 MB / 0.92 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.05388/1.605, allocations: 32.79 MB / 1.181 GB, free: 273.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.62, allocations: 6.247 MB / 1.187 GB, free: 271 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006723/1.626, allocations: 3.095 MB / 1.19 GB, free: 269.9 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/1.629, allocations: 2.438 MB / 1.193 GB, free: 267.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007493/1.636, allocations: 3.157 MB / 1.196 GB, free: 265.7 MB / 0.92 GB Notification: Performance of pre-optimization done (n=424): time 6.632e-06/1.636, allocations: 0 / 1.196 GB, free: 265.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=424): time 0.02092/1.657, allocations: 7.995 MB / 1.204 GB, free: 261.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/1.657, allocations: 227.2 kB / 1.204 GB, free: 261.6 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009681/1.667, allocations: 5.607 MB / 1.209 GB, free: 258.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008006/1.668, allocations: 103.2 kB / 1.209 GB, free: 258.6 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.67, allocations: 3.359 MB / 1.213 GB, free: 255.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.672, allocations: 1.433 MB / 1.214 GB, free: 254.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/1.674, allocations: 0.9071 MB / 1.215 GB, free: 253.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/1.674, allocations: 302.6 kB / 1.215 GB, free: 253.6 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006491/1.68, allocations: 2.539 MB / 1.218 GB, free: 252.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007184/1.688, allocations: 3.547 MB / 1.221 GB, free: 249.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.701, allocations: 6.18 MB / 1.227 GB, free: 246 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.433e-05/1.701, allocations: 7 kB / 1.227 GB, free: 246 MB / 0.92 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01695/1.718, allocations: 6.888 MB / 1.234 GB, free: 241.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.718, allocations: 16 kB / 1.234 GB, free: 241.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/1.718, allocations: 28.84 kB / 1.234 GB, free: 241.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-05/1.718, allocations: 48 kB / 1.234 GB, free: 241.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005843/1.724, allocations: 1.224 MB / 1.235 GB, free: 240.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.031e-05/1.724, allocations: 69.34 kB / 1.235 GB, free: 240.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006324/1.73, allocations: 0.7055 MB / 1.236 GB, free: 239.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/1.731, allocations: 227.9 kB / 1.236 GB, free: 239.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008857/1.74, allocations: 4.397 MB / 1.24 GB, free: 234.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006327/1.746, allocations: 3.544 MB / 1.244 GB, free: 230.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01201/1.758, allocations: 6.179 MB / 1.25 GB, free: 224.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.63e-05/1.758, allocations: 8 kB / 1.25 GB, free: 224.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=577) (initialization_lambda0): time 0.01543/1.774, allocations: 6.868 MB / 1.257 GB, free: 217.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.774, allocations: 17 kB / 1.257 GB, free: 217.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/1.774, allocations: 28 kB / 1.257 GB, free: 217.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/1.774, allocations: 52 kB / 1.257 GB, free: 217.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005763/1.779, allocations: 1.225 MB / 1.258 GB, free: 216 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.037e-05/1.78, allocations: 59.86 kB / 1.258 GB, free: 216 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006737/1.786, allocations: 0.5909 MB / 1.259 GB, free: 215.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007489/1.787, allocations: 231.9 kB / 1.259 GB, free: 215.1 MB / 0.92 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 (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 (577): * Single equations (assignments): 577 * 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.001638/1.789, allocations: 464.5 kB / 1.259 GB, free: 214.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001988/1.791, allocations: 0.602 MB / 1.26 GB, free: 214.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/1.807, allocations: 7.068 MB / 1.267 GB, free: 207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01209/1.819, allocations: 5.37 MB / 1.272 GB, free: 201.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.819, allocations: 4 kB / 1.272 GB, free: 201.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/1.822, allocations: 1.484 MB / 1.273 GB, free: 200.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.824, allocations: 87.89 kB / 1.274 GB, free: 200 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005363/1.829, allocations: 377.8 kB / 1.274 GB, free: 199.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/1.83, allocations: 255.1 kB / 1.274 GB, free: 199.4 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01664/1.846, allocations: 6.384 MB / 1.28 GB, free: 193.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02028/1.866, allocations: 10.01 MB / 1.29 GB, free: 183 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005854/1.872, allocations: 2.951 MB / 1.293 GB, free: 180.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005792/1.878, allocations: 3.874 MB / 1.297 GB, free: 176.2 MB / 0.92 GB Notification: Performance of Backend: time 4.71e-07/1.878, allocations: 0 / 1.297 GB, free: 176.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0206/1.899, allocations: 8.295 MB / 1.305 GB, free: 168.3 MB / 0.92 GB Notification: Performance of SimCode: time 0.02519/1.924, allocations: 15.43 MB / 1.32 GB, free: 153 MB / 0.92 GB Notification: Performance of Templates: time 0.1858/2.11, allocations: 154.9 MB / 1.471 GB, free: 15.39 MB / 0.9357 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)