Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.629/1.629, allocations: 287.4 MB / 303.2 MB, free: 8.156 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.001024/0.001024, allocations: 192.4 kB / 371.8 MB, free: 10.75 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.561/1.561, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0008426/0.0008428, allocations: 89.48 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004202, allocations: 11.39 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005365/0.2818, allocations: 3.596 MB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7493/1.031, allocations: 136.5 MB / 1.116 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008457/1.032, allocations: 14.56 kB / 1.116 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/1.033, allocations: 121.2 kB / 1.116 GB, free: 1.594 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001481/1.034, allocations: 357.8 kB / 1.117 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/1.036, allocations: 0.5896 MB / 1.117 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001814/1.038, allocations: 1.059 MB / 1.118 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009539/1.039, allocations: 0.5143 MB / 1.119 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007372/1.04, allocations: 307.8 kB / 1.119 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/1.041, allocations: 319.3 kB / 1.119 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.238e-05/1.041, allocations: 21.97 kB / 1.119 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/1.042, allocations: 0.6412 MB / 1.12 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/1.043, allocations: 159.2 kB / 1.12 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/1.043, allocations: 173.7 kB / 1.12 GB, free: 16.85 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/1.045, allocations: 1.134 MB / 1.121 GB, free: 16.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.045, allocations: 0 / 1.121 GB, free: 16.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/1.045, allocations: 4 kB / 1.121 GB, free: 16.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.901e-05/1.045, allocations: 0 / 1.121 GB, free: 16.75 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003077/1.048, allocations: 1.129 MB / 1.122 GB, free: 16.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/1.048, allocations: 7.969 kB / 1.122 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.049, allocations: 209.3 kB / 1.123 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/1.05, allocations: 0.6979 MB / 1.123 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/1.05, allocations: 53.88 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.051, allocations: 68.03 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/1.052, allocations: 0.8248 MB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.052, allocations: 0 / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/1.052, allocations: 32.5 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/1.052, allocations: 16.78 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/1.054, allocations: 1.083 MB / 1.125 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/1.059, allocations: 2.374 MB / 1.128 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.06, allocations: 0.7469 MB / 1.128 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000701/1.061, allocations: 318.6 kB / 1.129 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/1.061, allocations: 28.88 kB / 1.129 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/1.062, allocations: 469.9 kB / 1.129 GB, free: 14.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.406e-06/1.062, allocations: 0 / 1.129 GB, free: 14.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003419/1.065, allocations: 1.187 MB / 1.13 GB, free: 14.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.066, allocations: 192.4 kB / 1.13 GB, free: 14.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000807/1.066, allocations: 0.5786 MB / 1.131 GB, free: 13.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/1.067, allocations: 40.14 kB / 1.131 GB, free: 13.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/1.067, allocations: 353 kB / 1.131 GB, free: 13.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.067, allocations: 244.7 kB / 1.132 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/1.067, allocations: 14.88 kB / 1.132 GB, free: 13.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.067, allocations: 382.3 kB / 1.132 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/1.068, allocations: 273.4 kB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/1.069, allocations: 368.2 kB / 1.133 GB, free: 13.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.07, allocations: 0.6286 MB / 1.133 GB, free: 13.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.07, allocations: 0 / 1.133 GB, free: 13.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002366/1.072, allocations: 0.8542 MB / 1.134 GB, free: 12.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.072, allocations: 9.031 kB / 1.134 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.072, allocations: 1.625 kB / 1.134 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000695/1.073, allocations: 84.17 kB / 1.134 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/1.074, allocations: 168.2 kB / 1.134 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/1.077, allocations: 1.526 MB / 1.136 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.078, allocations: 98.78 kB / 1.136 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/1.078, allocations: 38.64 kB / 1.136 GB, free: 11.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006862/1.078, allocations: 253.8 kB / 1.136 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/1.079, allocations: 76.09 kB / 1.136 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/1.082, allocations: 1.118 MB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.082, allocations: 8.25 kB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.082, allocations: 0 / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/1.082, allocations: 281.7 kB / 1.138 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.082, allocations: 16.69 kB / 1.138 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/1.083, allocations: 78.97 kB / 1.138 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.083, allocations: 67.59 kB / 1.138 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002421/1.086, allocations: 0.9503 MB / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002701/1.088, allocations: 1.398 MB / 1.14 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007226/1.089, allocations: 357.4 kB / 1.14 GB, free: 10.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007221/1.09, allocations: 420.4 kB / 1.141 GB, free: 10.37 MB / 0.698 GB Notification: Performance of Backend: time 7.51e-07/1.09, allocations: 1.312 kB / 1.141 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004194/1.094, allocations: 1.228 MB / 1.142 GB, free: 9.914 MB / 0.698 GB Notification: Performance of SimCode: time 0.004095/1.098, allocations: 2.195 MB / 1.144 GB, free: 8.395 MB / 0.698 GB Notification: Performance of Templates: time 0.03498/1.133, allocations: 14.99 MB / 1.159 GB, free: 0.8281 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)