Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.979/1.979, allocations: 288.4 MB / 303.6 MB, free: 8.043 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.001441/0.001441, allocations: 179.1 kB / 372.3 MB, free: 10.14 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.512/1.512, allocations: 205.4 MB / 0.631 GB, free: 9.816 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.0008042/0.0008041, allocations: 97.95 kB / 0.7444 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 10.84 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004127/0.2115, allocations: 3.604 MB / 0.9836 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6896/0.9011, allocations: 136.4 MB / 1.117 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008905/0.902, allocations: 14.44 kB / 1.117 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.9027, allocations: 127 kB / 1.117 GB, free: 2.285 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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‘. Notification: Performance of NFTyping.typeBindings: time 0.001785/0.9046, allocations: 359.5 kB / 1.117 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.9069, allocations: 0.5865 MB / 1.118 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.9086, allocations: 1.063 MB / 1.119 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.9098, allocations: 0.5116 MB / 1.119 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008107/0.9106, allocations: 302.3 kB / 1.12 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.9114, allocations: 323.2 kB / 1.12 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.9117, allocations: 23.5 kB / 1.12 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.9137, allocations: 0.6547 MB / 1.121 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.9141, allocations: 163.2 kB / 1.121 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.9148, allocations: 380.3 kB / 1.121 GB, free: 17.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.9169, allocations: 1.133 MB / 1.122 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9169, allocations: 0 / 1.122 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9169, allocations: 0 / 1.122 GB, free: 17.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.422e-05/0.917, allocations: 0 / 1.122 GB, free: 17.35 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.002839/0.9198, allocations: 1.136 MB / 1.123 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.9199, allocations: 9.219 kB / 1.123 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.9214, allocations: 208 kB / 1.124 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.9229, allocations: 0.6956 MB / 1.124 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/0.923, allocations: 51.25 kB / 1.124 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.9232, allocations: 71.84 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.9248, allocations: 0.8259 MB / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.9249, allocations: 0 / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/0.9249, allocations: 28.38 kB / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.925, allocations: 17.62 kB / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.9269, allocations: 1.084 MB / 1.126 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.9307, allocations: 2.391 MB / 1.129 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.932, allocations: 0.7472 MB / 1.129 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.9326, allocations: 311.5 kB / 1.13 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/0.9327, allocations: 38.39 kB / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.9336, allocations: 466.3 kB / 1.13 GB, free: 15.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.266e-06/0.9336, allocations: 0 / 1.13 GB, free: 15.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003302/0.9369, allocations: 1.188 MB / 1.131 GB, free: 14.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.9371, allocations: 192.2 kB / 1.132 GB, free: 14.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/0.9378, allocations: 0.5828 MB / 1.132 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.9379, allocations: 38.64 kB / 1.132 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.9382, allocations: 351.4 kB / 1.132 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.9384, allocations: 241.9 kB / 1.133 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.9384, allocations: 18.06 kB / 1.133 GB, free: 14.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9386, allocations: 378.8 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.9392, allocations: 268.7 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/0.9399, allocations: 369.8 kB / 1.134 GB, free: 13.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.9411, allocations: 0.6264 MB / 1.134 GB, free: 13.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9411, allocations: 0 / 1.134 GB, free: 13.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002071/0.9432, allocations: 0.8581 MB / 1.135 GB, free: 13.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.9432, allocations: 5.344 kB / 1.135 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.9433, allocations: 5.219 kB / 1.135 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/0.9438, allocations: 84.2 kB / 1.135 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.9446, allocations: 164.8 kB / 1.135 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.9466, allocations: 1.53 MB / 1.137 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009124/0.9475, allocations: 95.44 kB / 1.137 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/0.9476, allocations: 36.91 kB / 1.137 GB, free: 11.85 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.0004955/0.9481, allocations: 257.3 kB / 1.137 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.9482, allocations: 76.09 kB / 1.137 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.9509, allocations: 1.118 MB / 1.138 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/0.9509, allocations: 18 kB / 1.138 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.9509, allocations: 0 / 1.138 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.9509, allocations: 3.984 kB / 1.138 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.952, allocations: 0.8413 MB / 1.139 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.952, allocations: 4 kB / 1.139 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.9527, allocations: 159.9 kB / 1.139 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.9533, allocations: 87.7 kB / 1.14 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.9533, allocations: 23.89 kB / 1.14 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.9552, allocations: 1.557 MB / 1.141 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.9553, allocations: 5.375 kB / 1.141 GB, free: 9.461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.9575, allocations: 0.9134 MB / 1.142 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.958, allocations: 279.8 kB / 1.142 GB, free: 9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.9581, allocations: 15.47 kB / 1.142 GB, free: 9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.9587, allocations: 86.19 kB / 1.142 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.9589, allocations: 61.98 kB / 1.142 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/0.959, allocations: 33.42 kB / 1.142 GB, free: 8.945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006214/0.9596, allocations: 419.2 kB / 1.143 GB, free: 8.797 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9596, allocations: 1.859 kB / 1.143 GB, free: 8.797 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001017/0.9607, allocations: 275.2 kB / 1.143 GB, free: 8.75 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.001353/0.962, allocations: 0.5757 MB / 1.144 GB, free: 8.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.9641, allocations: 0.829 MB / 1.144 GB, free: 8.234 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9641, allocations: 1.562 kB / 1.144 GB, free: 8.234 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.9652, allocations: 0.5178 MB / 1.145 GB, free: 8.043 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.9665, allocations: 262.4 kB / 1.145 GB, free: 7.961 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.971, allocations: 2.01 MB / 1.147 GB, free: 6.867 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.9716, allocations: 0.9866 MB / 1.148 GB, free: 6.055 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001128/0.9728, allocations: 267.2 kB / 1.148 GB, free: 5.918 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.973, allocations: 105.6 kB / 1.148 GB, free: 5.891 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/0.9731, allocations: 0 / 1.148 GB, free: 5.891 MB / 0.698 GB Notification: Performance of Templates: time 0.02642/0.9995, allocations: 13.27 MB / 1.161 GB, free: 15.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)