Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.00118, 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.001102/0.001102, allocations: 195.5 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.399/1.399, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.679/1.679, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.00228/0.00228, allocations: 64.78 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2529, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.008685/0.2617, allocations: 4.049 MB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7101/0.9719, allocations: 147.9 MB / 0.9313 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.973, allocations: 22.56 kB / 0.9313 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.9737, allocations: 124.6 kB / 0.9314 GB, free: 5.359 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.001506/0.9753, allocations: 352.7 kB / 0.9317 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.9773, allocations: 0.6235 MB / 0.9323 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.979, allocations: 1.061 MB / 0.9334 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/0.9799, allocations: 0.492 MB / 0.9339 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.9805, allocations: 350.3 kB / 0.9342 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.9812, allocations: 365.5 kB / 0.9345 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.9813, allocations: 83.38 kB / 0.9346 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007845/0.9821, allocations: 286.4 kB / 0.9349 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.9824, allocations: 228.8 kB / 0.9351 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.9829, allocations: 421.9 kB / 0.9355 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.9847, allocations: 1.163 MB / 0.9366 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9847, allocations: 0 / 0.9366 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9847, allocations: 1.094 kB / 0.9366 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.9848, allocations: 6.938 kB / 0.9367 GB, free: 5.168 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.002229/0.987, allocations: 1.144 MB / 0.9378 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.9871, allocations: 10.16 kB / 0.9378 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.9874, allocations: 99.91 kB / 0.9379 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009235/0.9883, allocations: 0.6612 MB / 0.9385 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.9884, allocations: 48.48 kB / 0.9386 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.9884, allocations: 56.47 kB / 0.9386 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.9896, allocations: 0.6931 MB / 0.9393 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.9896, allocations: 0 / 0.9393 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.9897, allocations: 34.56 kB / 0.9393 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.9897, allocations: 15 kB / 0.9393 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.9912, allocations: 0.9161 MB / 0.9402 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.9944, allocations: 2.315 MB / 0.9425 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.9953, allocations: 0.6042 MB / 0.9431 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.9956, allocations: 222.1 kB / 0.9433 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.207e-05/0.9957, allocations: 29 kB / 0.9433 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006494/0.9963, allocations: 350.3 kB / 0.9437 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 1.853e-06/0.9963, allocations: 4 kB / 0.9437 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001198/0.9975, allocations: 0.7023 MB / 0.9444 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.9977, allocations: 245.9 kB / 0.9446 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.9984, allocations: 0.5725 MB / 0.9452 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.9985, allocations: 40.58 kB / 0.9452 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.9988, allocations: 328.8 kB / 0.9455 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.9989, allocations: 204.9 kB / 0.9457 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.9992, allocations: 139 kB / 0.9458 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.9994, allocations: 379.4 kB / 0.9462 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.9997, allocations: 190 kB / 0.9464 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/1, allocations: 291 kB / 0.9467 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/1.001, allocations: 476.5 kB / 0.9471 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.001, allocations: 0.75 kB / 0.9471 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001105/1.002, allocations: 0.6041 MB / 0.9477 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.002, allocations: 6.578 kB / 0.9477 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.002, allocations: 5.594 kB / 0.9477 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.002, allocations: 4.188 kB / 0.9477 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.003, allocations: 128.4 kB / 0.9478 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.003, allocations: 10.78 kB / 0.9478 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/1.003, allocations: 70.5 kB / 0.9479 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/1.003, allocations: 31.55 kB / 0.9479 GB, free: 17.38 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.0003454/1.004, allocations: 253.3 kB / 0.9482 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.004, allocations: 69.03 kB / 0.9482 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.005, allocations: 0.7482 MB / 0.949 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.005, allocations: 9.359 kB / 0.949 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.005, allocations: 4.062 kB / 0.949 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.005, allocations: 5.875 kB / 0.949 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.006, allocations: 0.8818 MB / 0.9499 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.006, allocations: 0.7812 kB / 0.9499 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/1.007, allocations: 118.7 kB / 0.95 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.007, allocations: 3.094 kB / 0.95 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/1.007, allocations: 20.23 kB / 0.95 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.007, allocations: 7.094 kB / 0.95 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.007, allocations: 1.062 kB / 0.95 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.008, allocations: 0.6344 MB / 0.9506 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/1.008, allocations: 239.6 kB / 0.9509 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.009, allocations: 20.75 kB / 0.9509 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/1.009, allocations: 51.84 kB / 0.9509 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.009, allocations: 44.81 kB / 0.951 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/1.009, allocations: 28.55 kB / 0.951 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007097/1.01, allocations: 420.6 kB / 0.9514 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.01, allocations: 1.344 kB / 0.9514 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007701/1.011, allocations: 226.5 kB / 0.9516 GB, free: 16.39 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.001244/1.012, allocations: 0.5612 MB / 0.9522 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.013, allocations: 0.6536 MB / 0.9528 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.013, allocations: 3.312 kB / 0.9528 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/1.014, allocations: 286.9 kB / 0.9531 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/1.015, allocations: 251 kB / 0.9533 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/1.017, allocations: 1.611 MB / 0.9549 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/1.018, allocations: 0.9512 MB / 0.9558 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007804/1.018, allocations: 232.6 kB / 0.956 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/1.019, allocations: 93.16 kB / 0.9561 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.019, allocations: 0 / 0.9561 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of Templates: time 0.02079/1.039, allocations: 10.89 MB / 0.9668 GB, free: 13.66 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)