Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001854/0.001853, allocations: 190.3 kB / 376.9 MB, free: 1.805 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.88/1.88, allocations: 205.1 MB / 0.6354 GB, free: 9.789 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.001122/0.001122, allocations: 95.75 kB / 0.7479 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3112, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.00843/0.3197, allocations: 4.044 MB / 0.9862 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7239/1.044, allocations: 147.8 MB / 1.131 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/1.045, allocations: 14.38 kB / 1.131 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005347/1.045, allocations: 131.5 kB / 1.131 GB, free: 7.301 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.001277/1.047, allocations: 340.5 kB / 1.131 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/1.048, allocations: 0.5979 MB / 1.132 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009288/1.049, allocations: 1.004 MB / 1.133 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006139/1.05, allocations: 490 kB / 1.133 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/1.05, allocations: 300.3 kB / 1.133 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/1.051, allocations: 341.9 kB / 1.134 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.932e-05/1.051, allocations: 37.75 kB / 1.134 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/1.051, allocations: 242.1 kB / 1.134 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/1.052, allocations: 183.8 kB / 1.134 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/1.052, allocations: 378.6 kB / 1.134 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009567/1.053, allocations: 1.123 MB / 1.136 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.053, allocations: 3.422 kB / 1.136 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/1.053, allocations: 0 / 1.136 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.053, allocations: 0 / 1.136 GB, free: 4.906 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001688/1.055, allocations: 1.155 MB / 1.137 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.055, allocations: 9.688 kB / 1.137 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/1.055, allocations: 95.81 kB / 1.137 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/1.056, allocations: 0.6536 MB / 1.137 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/1.056, allocations: 51.06 kB / 1.137 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/1.056, allocations: 58.66 kB / 1.138 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/1.057, allocations: 0.6921 MB / 1.138 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.057, allocations: 7 kB / 1.138 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/1.057, allocations: 26.47 kB / 1.138 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/1.057, allocations: 15.78 kB / 1.138 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/1.058, allocations: 0.9158 MB / 1.139 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/1.061, allocations: 2.32 MB / 1.141 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/1.061, allocations: 0.5983 MB / 1.142 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/1.062, allocations: 228.1 kB / 1.142 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/1.062, allocations: 27.25 kB / 1.142 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/1.062, allocations: 353.4 kB / 1.143 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 2.695e-06/1.062, allocations: 0 / 1.143 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.001114/1.063, allocations: 0.7101 MB / 1.143 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/1.063, allocations: 241.5 kB / 1.143 GB, free: 340 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/1.064, allocations: 0.572 MB / 1.144 GB, free: 72 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/1.064, allocations: 36.98 kB / 1.144 GB, free: 32 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/1.064, allocations: 329.7 kB / 1.144 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/1.065, allocations: 204.2 kB / 1.145 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/1.065, allocations: 137.1 kB / 1.145 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.065, allocations: 379.5 kB / 1.145 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.065, allocations: 193.4 kB / 1.145 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/1.066, allocations: 287.8 kB / 1.146 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/1.066, allocations: 480.1 kB / 1.146 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.066, allocations: 0.8125 kB / 1.146 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009439/1.067, allocations: 0.6059 MB / 1.147 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.067, allocations: 3.25 kB / 1.147 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.067, allocations: 3.188 kB / 1.147 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.067, allocations: 7.938 kB / 1.147 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/1.068, allocations: 130.7 kB / 1.147 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.068, allocations: 3.188 kB / 1.147 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/1.068, allocations: 73.55 kB / 1.147 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/1.069, allocations: 26.75 kB / 1.147 GB, free: 14.43 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (76): * Single equations (assignments): 76 * 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.0002948/1.069, allocations: 243.9 kB / 1.147 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.069, allocations: 70.12 kB / 1.147 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.07, allocations: 0.754 MB / 1.148 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.07, allocations: 6.125 kB / 1.148 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.07, allocations: 6.906 kB / 1.148 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/1.07, allocations: 3.375 kB / 1.148 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/1.071, allocations: 0.8841 MB / 1.149 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.071, allocations: 3.438 kB / 1.149 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/1.072, allocations: 114.8 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/1.072, allocations: 3.312 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/1.072, allocations: 20.44 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/1.072, allocations: 6.562 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.072, allocations: 1.234 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/1.074, allocations: 1.558 MB / 1.15 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/1.074, allocations: 240.8 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/1.074, allocations: 19.16 kB / 1.151 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/1.074, allocations: 47.84 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.075, allocations: 47.77 kB / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/1.075, allocations: 30.72 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004778/1.075, allocations: 415 kB / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.51e-07/1.075, allocations: 0 / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007865/1.076, allocations: 230.8 kB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/1.077, allocations: 0.5509 MB / 1.152 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008232/1.078, allocations: 0.5027 MB / 1.152 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.078, allocations: 320 / 1.152 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/1.079, allocations: 284 kB / 1.153 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.08, allocations: 228.6 kB / 1.153 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/1.082, allocations: 2 MB / 1.155 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/1.083, allocations: 0.9649 MB / 1.156 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007433/1.084, allocations: 241.7 kB / 1.156 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/1.084, allocations: 96.3 kB / 1.156 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/1.084, allocations: 0 / 1.156 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of Templates: time 0.02026/1.104, allocations: 10.8 MB / 1.167 GB, free: 8.242 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)