Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.001416/0.001416, allocations: 180.5 kB / 376.9 MB, free: 1.824 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.738/1.738, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 101.4 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 59.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2949, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007346/0.3023, allocations: 4.211 MB / 0.9863 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6488/0.9511, allocations: 147.9 MB / 1.131 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008614/0.952, allocations: 17.69 kB / 1.131 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.9526, allocations: 131.7 kB / 1.131 GB, free: 7.133 MB / 0.7448 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001268/0.9539, allocations: 366.7 kB / 1.131 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.9557, allocations: 0.6611 MB / 1.132 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009454/0.9566, allocations: 1.13 MB / 1.133 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.9573, allocations: 0.5335 MB / 1.134 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.9577, allocations: 361 kB / 1.134 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.9581, allocations: 402.2 kB / 1.134 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.9582, allocations: 45.78 kB / 1.134 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.9593, allocations: 0.7099 MB / 1.135 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.9595, allocations: 199.6 kB / 1.135 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.9598, allocations: 420.3 kB / 1.136 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.9612, allocations: 1.499 MB / 1.137 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.9612, allocations: 0 / 1.137 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9612, allocations: 0 / 1.137 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.9613, allocations: 0 / 1.137 GB, free: 4.246 MB / 0.7448 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.00212/0.9634, allocations: 1.319 MB / 1.138 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9634, allocations: 10.62 kB / 1.138 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.9645, allocations: 190.5 kB / 1.139 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.9654, allocations: 0.7053 MB / 1.139 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.9654, allocations: 54.09 kB / 1.139 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.9655, allocations: 63.34 kB / 1.139 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.9668, allocations: 0.8172 MB / 1.14 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.9668, allocations: 3.375 kB / 1.14 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.9669, allocations: 34.2 kB / 1.14 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.9669, allocations: 19.19 kB / 1.14 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.9685, allocations: 1.076 MB / 1.141 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.9718, allocations: 2.33 MB / 1.143 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.9731, allocations: 0.7472 MB / 1.144 GB, free: 468 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.9737, allocations: 303.1 kB / 1.145 GB, free: 356 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-05/0.9738, allocations: 39 kB / 1.145 GB, free: 340 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008002/0.9746, allocations: 467 kB / 1.145 GB, free: 140 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 2.604e-06/0.9746, allocations: 0 / 1.145 GB, free: 140 kB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.003281/0.9779, allocations: 1.168 MB / 1.146 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.978, allocations: 187.4 kB / 1.146 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.9787, allocations: 0.5892 MB / 1.147 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.9788, allocations: 40.92 kB / 1.147 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.9791, allocations: 351 kB / 1.147 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.9793, allocations: 241.2 kB / 1.147 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.9796, allocations: 159.6 kB / 1.148 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.9798, allocations: 380.6 kB / 1.148 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.9803, allocations: 264.8 kB / 1.148 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.981, allocations: 363.3 kB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.9822, allocations: 0.6114 MB / 1.149 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.9823, allocations: 0.5625 kB / 1.149 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002048/0.9843, allocations: 0.8441 MB / 1.15 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9844, allocations: 11.56 kB / 1.15 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.9844, allocations: 0 / 1.15 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.985, allocations: 88.48 kB / 1.15 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.9856, allocations: 156.2 kB / 1.15 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.9876, allocations: 1.531 MB / 1.152 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.9883, allocations: 84 kB / 1.152 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.9884, allocations: 45.16 kB / 1.152 GB, free: 11.86 MB / 0.7605 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 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004017/0.9888, allocations: 252.5 kB / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.989, allocations: 74.78 kB / 1.152 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.9916, allocations: 1.105 MB / 1.153 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.9916, allocations: 13.25 kB / 1.153 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.9916, allocations: 0 / 1.153 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.9916, allocations: 6.641 kB / 1.153 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.9927, allocations: 0.8281 MB / 1.154 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.9927, allocations: 6.875 kB / 1.154 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/0.9933, allocations: 152.7 kB / 1.154 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.9938, allocations: 85.3 kB / 1.154 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.9939, allocations: 28.34 kB / 1.154 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.9958, allocations: 1.562 MB / 1.156 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9958, allocations: 1.375 kB / 1.156 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.9989, allocations: 1.946 MB / 1.158 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.9993, allocations: 260.4 kB / 1.158 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.9994, allocations: 15.31 kB / 1.158 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/1, allocations: 69.69 kB / 1.158 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1, allocations: 65.52 kB / 1.158 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/1, allocations: 34.33 kB / 1.158 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004963/1.001, allocations: 422.6 kB / 1.159 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.5e-07/1.001, allocations: 0 / 1.159 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008986/1.002, allocations: 283.1 kB / 1.159 GB, free: 7.559 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/1.003, allocations: 0.5804 MB / 1.159 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.005, allocations: 0.8208 MB / 1.16 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.005, allocations: 0 / 1.16 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/1.006, allocations: 0.5121 MB / 1.161 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.007, allocations: 262.9 kB / 1.161 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/1.011, allocations: 2.45 MB / 1.163 GB, free: 5.168 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/1.011, allocations: 1.014 MB / 1.164 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000925/1.012, allocations: 263.7 kB / 1.165 GB, free: 4.383 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/1.013, allocations: 104.6 kB / 1.165 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of SimCode: time 8.21e-07/1.013, allocations: 0 / 1.165 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of Templates: time 0.02385/1.036, allocations: 13.92 MB / 1.178 GB, free: 3.164 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)