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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008408, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009838/0.0009839, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004756, allocations: 13.28 kB / 0.6737 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004792/0.2161, allocations: 3.46 MB / 0.7907 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5852/0.8013, allocations: 136.4 MB / 0.9238 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/0.802, allocations: 15.62 kB / 0.9239 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.8025, allocations: 124.4 kB / 0.924 GB, free: 5.453 MB / 0.7169 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.001113/0.8036, allocations: 338 kB / 0.9243 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.8052, allocations: 0.5244 MB / 0.9248 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009/0.8061, allocations: 0.9107 MB / 0.9257 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.8066, allocations: 345.4 kB / 0.926 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.807, allocations: 243.7 kB / 0.9263 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.8074, allocations: 270.8 kB / 0.9265 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.8074, allocations: 20.19 kB / 0.9265 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.8079, allocations: 197.4 kB / 0.9267 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.8081, allocations: 140.3 kB / 0.9269 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.8082, allocations: 156.2 kB / 0.927 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.8093, allocations: 0.8615 MB / 0.9279 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8093, allocations: 6.594 kB / 0.9279 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8093, allocations: 0 / 0.9279 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.8093, allocations: 0 / 0.9279 GB, free: 5.141 MB / 0.7169 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.001775/0.8111, allocations: 0.9903 MB / 0.9288 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.8111, allocations: 10.5 kB / 0.9288 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.8114, allocations: 103.9 kB / 0.9289 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.8123, allocations: 0.6301 MB / 0.9296 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.8124, allocations: 42.81 kB / 0.9296 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.8124, allocations: 60 kB / 0.9297 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.8135, allocations: 0.6862 MB / 0.9303 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.8135, allocations: 6.719 kB / 0.9303 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/0.8136, allocations: 31.69 kB / 0.9304 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.8136, allocations: 20.16 kB / 0.9304 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.8148, allocations: 0.9172 MB / 0.9313 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.8174, allocations: 2.334 MB / 0.9336 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/0.8182, allocations: 0.5911 MB / 0.9341 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.8185, allocations: 218.2 kB / 0.9343 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.8186, allocations: 29.89 kB / 0.9344 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005178/0.8191, allocations: 352.7 kB / 0.9347 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=61): time 2.164e-06/0.8191, allocations: 0 / 0.9347 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=61): time 0.001166/0.8203, allocations: 0.7017 MB / 0.9354 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.8204, allocations: 239.3 kB / 0.9356 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.8212, allocations: 0.5751 MB / 0.9362 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.8212, allocations: 39.11 kB / 0.9362 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.8214, allocations: 323.4 kB / 0.9365 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.8216, allocations: 200.9 kB / 0.9367 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.8216, allocations: 13 kB / 0.9367 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8218, allocations: 379.2 kB / 0.9371 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.8221, allocations: 183.5 kB / 0.9373 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.8225, allocations: 285.6 kB / 0.9375 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.8229, allocations: 235.2 kB / 0.9378 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.8229, allocations: 1.562 kB / 0.9378 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009755/0.8239, allocations: 0.5923 MB / 0.9383 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.8239, allocations: 7.984 kB / 0.9383 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.8239, allocations: 6.078 kB / 0.9384 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.824, allocations: 3.844 kB / 0.9384 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.8245, allocations: 137 kB / 0.9385 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.8245, allocations: 3.969 kB / 0.9385 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.825, allocations: 78.38 kB / 0.9386 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.825, allocations: 32.84 kB / 0.9386 GB, free: 17.36 MB / 0.7325 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.8254, allocations: 241.4 kB / 0.9388 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.8255, allocations: 81.16 kB / 0.9389 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.8269, allocations: 0.7445 MB / 0.9396 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.8269, allocations: 19.52 kB / 0.9397 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.827, allocations: 0.5 kB / 0.9397 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.827, allocations: 5.172 kB / 0.9397 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.8281, allocations: 0.8738 MB / 0.9405 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8281, allocations: 1.156 kB / 0.9405 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.8286, allocations: 118 kB / 0.9406 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.8286, allocations: 11.02 kB / 0.9406 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.8286, allocations: 19.95 kB / 0.9407 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.8286, allocations: 2.906 kB / 0.9407 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8286, allocations: 8.625 kB / 0.9407 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.8296, allocations: 0.6326 MB / 0.9413 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.8299, allocations: 250.3 kB / 0.9415 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.83, allocations: 21.95 kB / 0.9415 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.8304, allocations: 56.64 kB / 0.9416 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/0.8305, allocations: 49.98 kB / 0.9416 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.8305, allocations: 23.58 kB / 0.9417 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005023/0.8311, allocations: 415.3 kB / 0.9421 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8311, allocations: 2.734 kB / 0.9421 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007206/0.8318, allocations: 225.4 kB / 0.9423 GB, free: 16.33 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.833, allocations: 0.5532 MB / 0.9428 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007959/0.8338, allocations: 0.493 MB / 0.9433 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8338, allocations: 3.938 kB / 0.9433 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.8342, allocations: 278.3 kB / 0.9436 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.8351, allocations: 219.1 kB / 0.9438 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.8373, allocations: 1.578 MB / 0.9453 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.8379, allocations: 0.9503 MB / 0.9462 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000727/0.8386, allocations: 234.5 kB / 0.9465 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.8388, allocations: 87.66 kB / 0.9466 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8388, allocations: 1.062 kB / 0.9466 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of Templates: time 0.02029/0.8591, allocations: 10.19 MB / 0.9565 GB, free: 12.43 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: