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 2.568/2.568, allocations: 287.5 MB / 302.4 MB, free: 8.367 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.001418/0.001418, allocations: 182.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009609/0.0009609, allocations: 93.56 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005267, allocations: 11.52 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2349, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005559/0.2405, allocations: 3.6 MB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9059/1.146, allocations: 136.4 MB / 1.115 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/1.148, allocations: 20.3 kB / 1.115 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007044/1.148, allocations: 123.6 kB / 1.115 GB, free: 1.508 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.002115/1.15, allocations: 351.4 kB / 1.116 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/1.154, allocations: 0.6023 MB / 1.116 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002397/1.156, allocations: 1.024 MB / 1.117 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/1.157, allocations: 395.6 kB / 1.118 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/1.158, allocations: 296 kB / 1.118 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/1.159, allocations: 323.4 kB / 1.118 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/1.159, allocations: 22.28 kB / 1.118 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/1.162, allocations: 0.6446 MB / 1.119 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/1.162, allocations: 163.1 kB / 1.119 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003573/1.162, allocations: 172.3 kB / 1.119 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/1.166, allocations: 1.133 MB / 1.12 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.166, allocations: 3.312 kB / 1.12 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.387e-06/1.166, allocations: 0 / 1.12 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.142e-05/1.166, allocations: 0 / 1.12 GB, free: 0.7266 MB / 0.6823 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.004127/1.17, allocations: 1.138 MB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.17, allocations: 10.84 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.172, allocations: 219 kB / 1.122 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/1.174, allocations: 0.6619 MB / 1.122 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/1.174, allocations: 50.69 kB / 1.122 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.174, allocations: 65.88 kB / 1.122 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/1.177, allocations: 0.8262 MB / 1.123 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.177, allocations: 0 / 1.123 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/1.177, allocations: 34.5 kB / 1.123 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/1.177, allocations: 20.61 kB / 1.123 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00371/1.181, allocations: 1.084 MB / 1.124 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/1.188, allocations: 2.369 MB / 1.127 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/1.191, allocations: 0.7451 MB / 1.127 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.192, allocations: 317.7 kB / 1.128 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/1.192, allocations: 27.7 kB / 1.128 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/1.194, allocations: 470.9 kB / 1.128 GB, free: 14.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.519e-06/1.194, allocations: 0 / 1.128 GB, free: 14.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005849/1.2, allocations: 1.19 MB / 1.129 GB, free: 14.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/1.2, allocations: 193.9 kB / 1.129 GB, free: 14.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.201, allocations: 0.5782 MB / 1.13 GB, free: 13.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/1.201, allocations: 44.39 kB / 1.13 GB, free: 13.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/1.202, allocations: 348.9 kB / 1.13 GB, free: 13.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/1.202, allocations: 237.8 kB / 1.131 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.202, allocations: 14.16 kB / 1.131 GB, free: 13.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002252/1.202, allocations: 381.9 kB / 1.131 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/1.204, allocations: 272 kB / 1.131 GB, free: 13.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/1.205, allocations: 371.4 kB / 1.132 GB, free: 13.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.206, allocations: 317.9 kB / 1.132 GB, free: 13.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.206, allocations: 2.344 kB / 1.132 GB, free: 13.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004045/1.21, allocations: 0.8525 MB / 1.133 GB, free: 13.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/1.21, allocations: 7.406 kB / 1.133 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.21, allocations: 2.828 kB / 1.133 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/1.211, allocations: 86.69 kB / 1.133 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.213, allocations: 160.7 kB / 1.133 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/1.216, allocations: 1.54 MB / 1.134 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.218, allocations: 92.86 kB / 1.135 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.218, allocations: 36.34 kB / 1.135 GB, free: 11.66 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.0008099/1.219, allocations: 251.7 kB / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/1.219, allocations: 81.3 kB / 1.135 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004961/1.224, allocations: 1.124 MB / 1.136 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.224, allocations: 8.25 kB / 1.136 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.224, allocations: 1.469 kB / 1.136 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.224, allocations: 4.875 kB / 1.136 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.226, allocations: 0.8486 MB / 1.137 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.226, allocations: 4 kB / 1.137 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.228, allocations: 159.5 kB / 1.137 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009218/1.229, allocations: 91.7 kB / 1.137 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.229, allocations: 24.3 kB / 1.137 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/1.232, allocations: 1.555 MB / 1.139 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.232, allocations: 0 / 1.139 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/1.236, allocations: 0.9174 MB / 1.139 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/1.237, allocations: 273.4 kB / 1.14 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/1.237, allocations: 20.92 kB / 1.14 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.238, allocations: 79.67 kB / 1.14 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/1.238, allocations: 64.34 kB / 1.14 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.238, allocations: 32.48 kB / 1.14 GB, free: 9.254 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009201/1.239, allocations: 418.8 kB / 1.14 GB, free: 9.102 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.239, allocations: 0 / 1.14 GB, free: 9.102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00146/1.241, allocations: 274 kB / 1.141 GB, free: 9.055 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/1.243, allocations: 0.5691 MB / 1.141 GB, free: 8.812 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003502/1.246, allocations: 0.8316 MB / 1.142 GB, free: 8.559 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.246, allocations: 4.469 kB / 1.142 GB, free: 8.555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.248, allocations: 0.5231 MB / 1.142 GB, free: 8.363 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.25, allocations: 250.9 kB / 1.143 GB, free: 8.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/1.257, allocations: 2.011 MB / 1.145 GB, free: 7.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009585/1.258, allocations: 0.9877 MB / 1.146 GB, free: 6.379 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001817/1.26, allocations: 273.2 kB / 1.146 GB, free: 6.234 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/1.261, allocations: 106.7 kB / 1.146 GB, free: 6.207 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/1.261, allocations: 0 / 1.146 GB, free: 6.207 MB / 0.698 GB Notification: Performance of Templates: time 0.04123/1.302, allocations: 13.09 MB / 1.159 GB, free: 15.62 MB / 0.7136 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)