Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001237/0.001237, allocations: 189.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.673/1.673, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001283/0.001283, allocations: 64.41 kB / 0.671 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2312, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005573/0.2368, allocations: 4.036 MB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6782/0.915, allocations: 147.9 MB / 0.9313 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007266/0.9158, allocations: 13.16 kB / 0.9313 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005716/0.9163, allocations: 126.7 kB / 0.9314 GB, free: 5.387 MB / 0.7325 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.001574/0.918, allocations: 356.6 kB / 0.9317 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.9195, allocations: 0.6199 MB / 0.9323 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.9207, allocations: 1.057 MB / 0.9334 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.9214, allocations: 0.4918 MB / 0.9339 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.9218, allocations: 353.1 kB / 0.9342 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.9223, allocations: 368.1 kB / 0.9345 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.941e-05/0.9224, allocations: 82.72 kB / 0.9346 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.923, allocations: 287 kB / 0.9349 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.9232, allocations: 228.4 kB / 0.9351 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.9235, allocations: 422.5 kB / 0.9355 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.925, allocations: 1.163 MB / 0.9367 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.925, allocations: 0 / 0.9367 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.785e-06/0.925, allocations: 0 / 0.9367 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.925, allocations: 3.578 kB / 0.9367 GB, free: 5.199 MB / 0.7325 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.002078/0.9271, allocations: 1.145 MB / 0.9378 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.9272, allocations: 12.69 kB / 0.9378 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.9274, allocations: 97.58 kB / 0.9379 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008806/0.9283, allocations: 0.6583 MB / 0.9385 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.9284, allocations: 47.28 kB / 0.9386 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.9285, allocations: 59.7 kB / 0.9386 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.9295, allocations: 0.697 MB / 0.9393 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.9295, allocations: 0 / 0.9393 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.9296, allocations: 27.94 kB / 0.9393 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.9296, allocations: 18.77 kB / 0.9394 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.9308, allocations: 0.919 MB / 0.9403 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.9336, allocations: 2.312 MB / 0.9425 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.9345, allocations: 0.598 MB / 0.9431 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.9348, allocations: 227.4 kB / 0.9433 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-05/0.9348, allocations: 29.66 kB / 0.9433 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006707/0.9355, allocations: 353 kB / 0.9437 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 3.597e-06/0.9355, allocations: 1.688 kB / 0.9437 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001337/0.9369, allocations: 0.7013 MB / 0.9444 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.937, allocations: 249.7 kB / 0.9446 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/0.9378, allocations: 0.5727 MB / 0.9452 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.9379, allocations: 41.48 kB / 0.9452 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.9381, allocations: 329.2 kB / 0.9455 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.9383, allocations: 206.4 kB / 0.9457 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.9385, allocations: 138.1 kB / 0.9458 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.9388, allocations: 375 kB / 0.9462 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.9392, allocations: 191.9 kB / 0.9464 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004945/0.9397, allocations: 292.4 kB / 0.9467 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/0.9404, allocations: 478.8 kB / 0.9471 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9405, allocations: 3.062 kB / 0.9471 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009704/0.9414, allocations: 0.601 MB / 0.9477 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9415, allocations: 5.562 kB / 0.9477 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9415, allocations: 3.984 kB / 0.9477 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9415, allocations: 4.094 kB / 0.9477 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.942, allocations: 133.6 kB / 0.9478 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.942, allocations: 6.031 kB / 0.9479 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.9425, allocations: 70.31 kB / 0.9479 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.9426, allocations: 31.47 kB / 0.9479 GB, free: 17.4 MB / 0.7481 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.0003706/0.943, allocations: 247 kB / 0.9482 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.9431, allocations: 73.64 kB / 0.9483 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.9445, allocations: 0.7536 MB / 0.949 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.9445, allocations: 7.25 kB / 0.949 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.9446, allocations: 0.8438 kB / 0.949 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.9446, allocations: 6.719 kB / 0.949 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.9456, allocations: 0.8818 MB / 0.9499 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.9457, allocations: 1.031 kB / 0.9499 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.9461, allocations: 116.1 kB / 0.95 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.9462, allocations: 2.938 kB / 0.95 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.9462, allocations: 21.7 kB / 0.95 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.9462, allocations: 2.688 kB / 0.95 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9462, allocations: 2.906 kB / 0.95 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.9475, allocations: 0.6395 MB / 0.9506 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.9479, allocations: 239.6 kB / 0.9509 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.948, allocations: 20.56 kB / 0.9509 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.9485, allocations: 40.69 kB / 0.9509 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.9486, allocations: 49.67 kB / 0.951 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.9487, allocations: 30.38 kB / 0.951 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006522/0.9494, allocations: 424.7 kB / 0.9514 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.233e-06/0.9494, allocations: 0 / 0.9514 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007803/0.9501, allocations: 226 kB / 0.9516 GB, free: 16.41 MB / 0.7481 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.001269/0.9514, allocations: 0.5515 MB / 0.9522 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.9527, allocations: 0.6566 MB / 0.9528 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9528, allocations: 0 / 0.9528 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.9531, allocations: 281.4 kB / 0.9531 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.9542, allocations: 264.5 kB / 0.9533 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.9563, allocations: 1.613 MB / 0.9549 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.9568, allocations: 0.948 MB / 0.9558 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006706/0.9574, allocations: 231 kB / 0.956 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.9576, allocations: 96.16 kB / 0.9561 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.9577, allocations: 0 / 0.9561 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.02015/0.9778, allocations: 10.89 MB / 0.9668 GB, free: 13.68 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)